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 d1c1a9a83f
commit eaa0a1baac

View File

@ -39,7 +39,7 @@
/* Static server configuration */
#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_LOADBUF_LEN 1024
#define REDIS_DEFAULT_DBNUM 16