From 3fac86ff1dd4fd4e0f14b80fdbd162c68e04ba16 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 bdd7b44d..e37346e1 100644 --- a/src/redis.h +++ b/src/redis.h @@ -37,7 +37,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 #define REDIS_LOADBUF_LEN 1024 #define REDIS_DEFAULT_DBNUM 16