diff options
Diffstat (limited to 'memcached.h')
-rw-r--r-- | memcached.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/memcached.h b/memcached.h index 578b5ee..b763f4a 100644 --- a/memcached.h +++ b/memcached.h @@ -63,6 +63,13 @@ /* Initial power multiplier for the hash table */ #define HASHPOWER_DEFAULT 16 +/* + * We only reposition items in the LRU queue if they haven't been repositioned + * in this many seconds. That saves us from churning on frequently-accessed + * items. + */ +#define ITEM_UPDATE_INTERVAL 60 + /* unistd.h is here */ #if HAVE_UNISTD_H # include <unistd.h> |