Added a define to set the size threshold to enable the multi bulk parsing big objects optimization.

This commit is contained in:
antirez
2011-11-04 11:16:11 +01:00
parent 826b5beb9c
commit 94d490b9f6
2 changed files with 14 additions and 8 deletions

View File

@ -59,6 +59,7 @@
#define REDIS_REPL_TIMEOUT 60
#define REDIS_REPL_PING_SLAVE_PERIOD 10
#define REDIS_MBULK_BIG_ARG (1024*32)
/* Hash table parameters */
#define REDIS_HT_MINFILL 10 /* Minimal hash table fill 10% */