summaryrefslogtreecommitdiff
path: root/redis.conf
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2010-02-27 12:26:08 +0100
committerantirez <antirez@gmail.com>2010-02-27 12:26:08 +0100
commit5921aa36ede343d728cb53cc7dda87defc966c2f (patch)
tree57e27ff9330263e4b52b00eff96c13e294a47cb8 /redis.conf
parent9ebed7cf066267c0fe91f100f50c028fc4cec23f (diff)
downloadredis-5921aa36ede343d728cb53cc7dda87defc966c2f.tar.gz
Bug #169 fixed (BLOP/BRPOP interrupted connections are not cleared from the queue)
Diffstat (limited to 'redis.conf')
-rw-r--r--redis.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/redis.conf b/redis.conf
index 1c72bc4ae..2923a3aa4 100644
--- a/redis.conf
+++ b/redis.conf
@@ -197,6 +197,10 @@ vm-enabled no
#
# Useless to say, the best kind of disk for a Redis swap file (that's accessed
# at random) is a Solid State Disk (SSD).
+#
+# *** WARNING *** if you are using a shared hosting the default of putting
+# the swap file under /tmp is not secure. Create a dir with access granted
+# only to Redis user and configure Redis to create the swap file there.
vm-swap-file /tmp/redis-%p.vm
# vm-max-memory configures the VM to use at max the specified amount of