From: antirez Date: Fri, 11 Nov 2011 16:16:03 +0000 (+0100) Subject: set default client timeout to zero inside redis.h as well X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/3570629f9006687177b86f279ea9a6b2e8690e67?ds=sidebyside set default client timeout to zero inside redis.h as well --- diff --git a/src/redis.h b/src/redis.h index d660cae9..79ff3a6a 100644 --- a/src/redis.h +++ b/src/redis.h @@ -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