Skip to content

Commit

Permalink
Small config file documentation improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
erikdubbelboer committed Mar 23, 2015
1 parent 9b0bcf2 commit 4e04082
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions redis.conf
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
# internet, binding to all the interfaces is dangerous and will expose the
# instance to everybody on the internet. So by default we uncomment the
# following bind directive, that will force Redis to listen only into
# the IPv4 lookback interface address (this means Redis will be able to
# the IPv4 loopback interface address (this means Redis will be able to
# accept connections only from clients running into the same computer it
# is running).
#
Expand All @@ -66,6 +66,8 @@ port 6379
# will silently truncate it to the value of /proc/sys/net/core/somaxconn so
# make sure to raise both the value of somaxconn and tcp_max_syn_backlog
# in order to get the desired effect.
# Linux will round this value up to the nearest power of two
# using tcp-backlog + 1, so 511 becomes 512.
tcp-backlog 511

# Unix socket.
Expand All @@ -86,7 +88,7 @@ timeout 0
# of communication. This is useful for two reasons:
#
# 1) Detect dead peers.
# 2) Take the connection alive from the point of view of network
# 2) Keep the connection alive from the point of view of network
# equipment in the middle.
#
# On Linux, the specified value (in seconds) is the period used to send ACKs.
Expand Down Expand Up @@ -154,7 +156,7 @@ databases 16
# Will save the DB if both the given number of seconds and the given
# number of write operations against the DB occurred.
#
# In the example below the behaviour will be to save:
# In the example below the behavior will be to save:
# after 900 sec (15 min) if at least 1 key changed
# after 300 sec (5 min) if at least 10 keys changed
# after 60 sec if at least 10000 keys changed
Expand Down

0 comments on commit 4e04082

Please sign in to comment.