1
0
Fork 0

merged [453] from b1.2: 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/trunk@454 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
This commit is contained in:
Xuefer 2007-07-12 03:28:26 +00:00
parent 4953a17ea3
commit 0f8c5fd2bf
1 changed files with 2 additions and 0 deletions

View File

@ -996,6 +996,8 @@ static zend_op_array *xc_compile_php(xc_entry_data_php_t *php, zend_file_handle
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;
}