maxclients configuration is now implemented dealing with the actual process rlimits. Setting maxclients to 0 no longer makes sense and is now invalid, the new default is 10000.

See issue #162 for more information.
This commit is contained in:
antirez
2011-10-31 10:48:41 +01:00
parent 1eceb85ebc
commit 58732c23d5
4 changed files with 43 additions and 6 deletions

View File

@ -55,6 +55,7 @@
#define REDIS_AUTO_AOFREWRITE_MIN_SIZE (1024*1024)
#define REDIS_SLOWLOG_LOG_SLOWER_THAN 10000
#define REDIS_SLOWLOG_MAX_LEN 64
#define REDIS_MAX_CLIENTS 10000
/* Hash table parameters */
#define REDIS_HT_MINFILL 10 /* Minimal hash table fill 10% */