tcp-keepalive option documented in redis.conf.

This commit is contained in:
antirez 2013-02-08 17:03:11 +01:00
parent 124a635bc5
commit 98b1a852b4

View File

@ -39,6 +39,17 @@ port 6379
# Close the connection after a client is idle for N seconds (0 to disable) # Close the connection after a client is idle for N seconds (0 to disable)
timeout 0 timeout 0
# TCP keepalive.
#
# When this option is set to a non-zero value, SO_KEEPALIVE option will be
# enabled in order to send ACKs just to avoid connection drops or to detect
# dead peers.
#
# The value you specify with this option is the period (in seconds) we use
# in order to refresh the connection with TCP ACKs, however the period is
# only actually set on Linux. Other kernels will use the system-wide default.
tcp-keepalive 0
# Specify the server verbosity level. # Specify the server verbosity level.
# This can be one of: # This can be one of:
# debug (a lot of information, useful for development/testing) # debug (a lot of information, useful for development/testing)