Skip to content
Browse files

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

  • Loading branch information...
1 parent 18fe946 commit 3fac86ff1dd4fd4e0f14b80fdbd162c68e04ba16 @antirez committed Nov 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/redis.h
View
2 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

0 comments on commit 3fac86f

Please sign in to comment.
Something went wrong with that request. Please try again.