Changeset 114 in svn for trunk/xcache.h


Ignore:
Timestamp:
2006-08-30T00:31:03Z (9 years ago)
Author:
Xuefer
Message:

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

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.