Changeset 764 in svn for trunk/xcache.c


Ignore:
Timestamp:
2011-04-18T06:20:40+02:00 (4 years ago)
Author:
Xuefer
Message:

30 seconds timeout for clog checking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r721 r764  
    17051705
    17061706    /* stale clogs precheck */
    1707     if (cache->compiling) {
     1707    if (XG(request_time) - cache->compiling < 30) {
    17081708        cache->clogs ++;
    17091709        return old_compile_file(h, type TSRMLS_CC);
     
    17331733            /* miss but compiling */
    17341734            if (!stored_php) {
    1735                 if (cache->compiling) {
     1735                if (XG(request_time) - cache->compiling < 30) {
    17361736                    TRACE("%s", "miss but compiling");
    17371737                    cache->clogs ++;
Note: See TracChangeset for help on using the changeset viewer.