summarylogtreecommitdiffstats
path: root/redis.conf-sane-defaults.patch
diff options
context:
space:
mode:
Diffstat (limited to 'redis.conf-sane-defaults.patch')
-rw-r--r--redis.conf-sane-defaults.patch17
1 files changed, 4 insertions, 13 deletions
diff --git a/redis.conf-sane-defaults.patch b/redis.conf-sane-defaults.patch
index 97b1086457e2..7c47275c0799 100644
--- a/redis.conf-sane-defaults.patch
+++ b/redis.conf-sane-defaults.patch
@@ -1,8 +1,8 @@
diff --git a/redis.conf b/redis.conf
-index 6efb6ac..344e021 100644
+index adc0902..66d360d 100644
--- a/redis.conf
+++ b/redis.conf
-@@ -45,7 +45,7 @@
+@@ -53,7 +53,7 @@
# Examples:
#
# bind 192.168.1.100 10.0.0.1
@@ -11,16 +11,7 @@ index 6efb6ac..344e021 100644
#
# ~~~ WARNING ~~~ If the computer running Redis is directly exposed to the
# internet, binding to all the interfaces is dangerous and will expose the
-@@ -118,7 +118,7 @@
- # On other kernels the period depends on the kernel configuration.
- #
- # A reasonable value for this option is 60 seconds.
--tcp-keepalive 0
-+tcp-keepalive 60
-
- ################################# GENERAL #####################################
-
-@@ -243,7 +243,7 @@
+@@ -252,7 +252,7 @@ dbfilename dump.rdb
# The Append Only File will also be created inside this directory.
#
# Note that you must specify a directory here, not a file name.
@@ -28,4 +19,4 @@ index 6efb6ac..344e021 100644
+dir /var/lib/redis/
################################# REPLICATION #################################
-
+