Changeset 136 in svn


Ignore:
Timestamp:
2006-09-06T03:40:49+02:00 (9 years ago)
Author:
Xuefer
Message:

update last_gc_deletes so it gc by interval

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r132 r136  
    357357        ENTER_LOCK(cache) {
    358358            if (cache->deletes && XG(request_time) - cache->last_gc_deletes > xc_deletes_gc_interval) {
     359                cache->last_gc_deletes = XG(request_time);
    359360                xc_gc_delete_dmz(cache TSRMLS_CC);
    360361            }
Note: See TracChangeset for help on using the changeset viewer.