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:
parent
4953a17ea3
commit
0f8c5fd2bf
2
xcache.c
2
xcache.c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue