Enable tcp-keepalive by default.

This commit is contained in:
antirez
2016-06-13 12:03:14 +02:00
parent a650aaaf4f
commit 40cfe13141

View File

@ -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 #####################################