Changeset 114 for trunk/xcache.h

Show
Ignore:
Timestamp:
08/30/2006 02:31:03 AM (7 years ago)
Author:
moo
Message:

gc expired items, new ini: xcache.ttl xcache.gc_interval xcache.var_ttl xcache.var_maxttl xcache.var_gc_interval

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/xcache.h

    r104 r114  
    157157    int deletes_count; 
    158158    xc_hash_t  *hentry; /* hash to entry */ 
     159 
     160    time_t     last_gc_deletes; 
     161    time_t     last_gc_expires; 
    159162} xc_cache_t; 
    160163/* }}} */ 
     
    218221typedef struct { 
    219222    zval   *value; 
    220     time_t etime; 
    221223} xc_entry_data_var_t; 
    222224/* }}} */ 
     
    235237    time_t     atime;           /* the atime of this entry */ 
    236238    time_t     dtime;           /* the deletion time of this entry */ 
     239    long       ttl;             /* ttl of time entry, var only */ 
    237240 
    238241#ifdef IS_UNICODE