Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
3570629f
Commit
3570629f
authored
Nov 11, 2011
by
antirez
Browse files
set default client timeout to zero inside redis.h as well
parent
64c7499e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis.h
View file @
3570629f
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment