From 3570629f9006687177b86f279ea9a6b2e8690e67 Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 11 Nov 2011 17:16:03 +0100 Subject: [PATCH] set default client timeout to zero inside redis.h as well --- src/redis.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2