set default client timeout to zero inside redis.h as well

This commit is contained in:
antirez 2011-11-11 17:16:03 +01:00
parent 64c7499eb8
commit 3570629f90

View File

@ -39,7 +39,7 @@
/* Static server configuration */ /* Static server configuration */
#define REDIS_SERVERPORT 6379 /* TCP port */ #define REDIS_SERVERPORT 6379 /* TCP port */
#define REDIS_MAXIDLETIME (60*5) /* default client timeout */ #define REDIS_MAXIDLETIME 0 /* default client timeout: infinite */
#define REDIS_IOBUF_LEN (1024*16) #define REDIS_IOBUF_LEN (1024*16)
#define REDIS_LOADBUF_LEN 1024 #define REDIS_LOADBUF_LEN 1024
#define REDIS_DEFAULT_DBNUM 16 #define REDIS_DEFAULT_DBNUM 16