summaryrefslogtreecommitdiff
path: root/src/redis.h
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-03-20 17:05:42 +0100
committerantirez <antirez@gmail.com>2014-03-20 17:05:42 +0100
commitf4da796c539928e3c2dc5a643bd5e6d3af8d29ce (patch)
treeb5d8b5c0ab1041ec7d740a4d91f462bcd17e4c49 /src/redis.h
parentc641b670c333486dc0ea887ae61c86ff9202ab69 (diff)
downloadredis-f4da796c539928e3c2dc5a643bd5e6d3af8d29ce.tar.gz
Default LRU samples is now 5.
Diffstat (limited to 'src/redis.h')
-rw-r--r--src/redis.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redis.h b/src/redis.h
index 34bb3eadb..8103527ee 100644
--- a/src/redis.h
+++ b/src/redis.h
@@ -113,7 +113,7 @@
#define REDIS_DEFAULT_SLAVE_READ_ONLY 1
#define REDIS_DEFAULT_REPL_DISABLE_TCP_NODELAY 0
#define REDIS_DEFAULT_MAXMEMORY 0
-#define REDIS_DEFAULT_MAXMEMORY_SAMPLES 3
+#define REDIS_DEFAULT_MAXMEMORY_SAMPLES 5
#define REDIS_DEFAULT_AOF_FILENAME "appendonly.aof"
#define REDIS_DEFAULT_AOF_NO_FSYNC_ON_REWRITE 0
#define REDIS_DEFAULT_ACTIVE_REHASHING 1