Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
93ae95de
Commit
93ae95de
authored
Feb 09, 2013
by
antirez
Browse files
TCP keep-alive. Better documentation in redis.conf.
parent
76a5b21c
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.conf
View file @
93ae95de
...
@@ -41,13 +41,18 @@ timeout 0
...
@@ -41,13 +41,18 @@ timeout 0
# TCP keepalive.
# TCP keepalive.
#
#
# When this option is set to a non-zero value, SO_KEEPALIVE option will be
# If non-zero, use SO_KEEPALIVE to send TCP ACKs to clients in absence
# enabled in order to send ACKs just to avoid connection drops or to detect
# of communication. This is useful for two reasons:
# dead peers.
#
#
# The value you specify with this option is the period (in seconds) we use
# 1) Detect dead peers.
# in order to refresh the connection with TCP ACKs, however the period is
# 2) Take the connection alive from the point of view of network
# only actually set on Linux. Other kernels will use the system-wide default.
# equipment in the middle.
#
# On Linux, the specified value (in seconds) is the period used to send ACKs.
# Note that to close the connection the double of the time is needed.
# On other kernels the period depends on the kernel configuration.
#
# A reasonable value for this option is 60 seconds.
tcp
-
keepalive
0
tcp
-
keepalive
0
# Specify the server verbosity level.
# Specify the server verbosity level.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment