Commit 40cfe131 authored by antirez's avatar antirez
Browse files

Enable tcp-keepalive by default.

parent a650aaaf
...@@ -117,8 +117,9 @@ timeout 0 ...@@ -117,8 +117,9 @@ timeout 0
# Note that to close the connection the double of the time is needed. # Note that to close the connection the double of the time is needed.
# On other kernels the period depends on the kernel configuration. # On other kernels the period depends on the kernel configuration.
# #
# A reasonable value for this option is 60 seconds. # A reasonable value for this option is 300 seconds, which is the new
tcp-keepalive 0 # Redis default starting with Redis 3.2.1.
tcp-keepalive 300
################################# GENERAL ##################################### ################################# GENERAL #####################################
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment