Changeset 764 for trunk

Show
Ignore:
Timestamp:
04/18/2011 06:20:40 AM (2 years ago)
Author:
moo
Message:

30 seconds timeout for clog checking

Files:
1 modified

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 ++;