summaryrefslogtreecommitdiff
path: root/redis.conf
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2009-05-25 23:29:18 +0200
committerantirez <antirez@gmail.com>2009-05-25 23:29:18 +0200
commit285add5558c8d6cd6f6e659fbfcbc06af165218f (patch)
treefe0d3cea6ccd13097cbce185a39e6611cc44cf33 /redis.conf
parenta0f643ea4c574d7f393a325f8f6e7c6c2e1c476f (diff)
downloadredis-285add5558c8d6cd6f6e659fbfcbc06af165218f.tar.gz
maxclients implemented, see redis.conf for details
Diffstat (limited to 'redis.conf')
-rw-r--r--redis.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/redis.conf b/redis.conf
index e8c6cd828..09f926d7b 100644
--- a/redis.conf
+++ b/redis.conf
@@ -78,6 +78,16 @@ databases 16
# requirepass foobared
+################################### LIMITS ####################################
+
+# Set the max number of connected clients at the same time. By default there
+# is no limit, and it's up to the number of file descriptors the Redis process
+# is able to open. The special value '0' means no limts.
+# Once the limit is reached Redis will close all the new connections sending
+# an error 'max number of clients reached'.
+
+# maxclients 128
+
############################### ADVANCED CONFIG ###############################
# Glue small output buffers together in order to send small replies in a