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
c6e3ce38
Commit
c6e3ce38
authored
Jun 13, 2016
by
antirez
Browse files
Enable tcp-keepalive by default.
parent
5ba9bdec
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.conf
View file @
c6e3ce38
...
@@ -125,8 +125,9 @@ timeout 0
...
@@ -125,8 +125,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 #####################################
...
...
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