Changeset 6e7edfd in git


Ignore:
Timestamp:
2011-04-18T04:20:40Z (8 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
037f6cb
Parents:
8707055
Message:

30 seconds timeout for clog checking

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@764 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xcache.c

    re2a871e r6e7edfd  
    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.