Changeset 52eabe1 in git


Ignore:
Timestamp:
2006-09-06T01:40:49Z (13 years ago)
Author:
Xuefer <xuefer@…>
Branches:
1.1, 1.2, 1.3, 3.0, 3.1, 3.2, master, trunk
Children:
6c0f8b8
Parents:
6651fd8
Message:

update last_gc_deletes so it gc by interval

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@136 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xcache.c

    r27795d9 r52eabe1  
    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.