summaryrefslogtreecommitdiff
path: root/redis.conf
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-03-21 08:03:30 +0100
committerantirez <antirez@gmail.com>2014-03-21 08:03:34 +0100
commit5fa3248badcd042cecc5aed29b8fb6cc59cd009a (patch)
tree3aa46dbab9a98bf4a40246a1caf03d8a931eeb7b /redis.conf
parenta98369929e250e94240f719abcf1d6e1255202a9 (diff)
downloadredis-5fa3248badcd042cecc5aed29b8fb6cc59cd009a.tar.gz
The default maxmemory policy is now noeviction.
This is safer as by default maxmemory should just set a memory limit without any key to be deleted, unless the policy is set to something more relaxed.
Diffstat (limited to 'redis.conf')
-rw-r--r--redis.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis.conf b/redis.conf
index f40d53e4d..1e53917b6 100644
--- a/redis.conf
+++ b/redis.conf
@@ -416,7 +416,7 @@ slave-priority 100
#
# The default is:
#
-# maxmemory-policy volatile-lru
+# maxmemory-policy noeviction
# LRU and minimal TTL algorithms are not precise algorithms but approximated
# algorithms (in order to save memory), so you can tune it for speed or