1
0
Fork 0

for non cachable files, they just wont be cached. we shound't scare the users with high 'misses'

git-svn-id: svn://svn.lighttpd.net/xcache/branches/1.2@453 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.2
Xuefer 15 years ago
parent f84161377d
commit 25c1cfc36d
  1. 2
      xcache.c

@ -968,6 +968,8 @@ static zend_op_array *xc_compile_file(zend_file_handle *h, int type TSRMLS_DC) /
xc_sandbox_free(&sandbox, XC_InstallNoBinding TSRMLS_CC);
ENTER_LOCK(cache) {
cache->compiling = 0;
/* it's not cachable, but don't scare the users with high misses */
cache->misses --;
} LEAVE_LOCK(cache);
return op_array;
}

Loading…
Cancel
Save