diff --git a/src/redis.h b/src/redis.h index 8103527ee..c14a29607 100644 --- a/src/redis.h +++ b/src/redis.h @@ -382,12 +382,11 @@ typedef long long mstime_t; /* millisecond time type. */ /* A redis object, that is a type able to hold a string / list / set */ /* The actual Redis Object */ -#define REDIS_LRU_BITS 22 +#define REDIS_LRU_BITS 24 #define REDIS_LRU_CLOCK_MAX ((1<lru */ -#define REDIS_LRU_CLOCK_RESOLUTION 10000 /* LRU clock resolution in ms */ +#define REDIS_LRU_CLOCK_RESOLUTION 1000 /* LRU clock resolution in ms */ typedef struct redisObject { unsigned type:4; - unsigned notused:2; /* Not used */ unsigned encoding:4; unsigned lru:REDIS_LRU_BITS; /* lru time (relative to server.lruclock) */ int refcount;