Changeset 116 for trunk/xcache.c
- Timestamp:
- 08/30/2006 02:26:53 PM (7 years ago)
- Files:
-
- 1 modified
-
trunk/xcache.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xcache.c
r114 r116 262 262 static XC_ENTRY_APPLY_FUNC(xc_gc_php_entry_expires_dmz) /* {{{ */ 263 263 { 264 #ifdef DEBUG 264 265 fprintf(stderr, "ttl %d, %d %d\n", XG(request_time), entry->atime, xc_php_ttl); 266 #endif 265 267 if (XG(request_time) > entry->atime + xc_php_ttl) { 266 268 return 1; … … 279 281 static void xc_gc_expires_one(xc_cache_t *cache, zend_ulong gc_interval, cache_apply_dmz_func_t apply_func TSRMLS_DC) /* {{{ */ 280 282 { 283 #ifdef DEBUG 281 284 fprintf(stderr, "interval %d, %d %d\n", XG(request_time), cache->last_gc_expires, gc_interval); 285 #endif 282 286 if (XG(request_time) - cache->last_gc_expires > gc_interval) { 283 287 ENTER_LOCK(cache) {

