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
ffd1600c
Commit
ffd1600c
authored
May 18, 2016
by
antirez
Browse files
Clarify that the LOG_STR_SIZE includes null term.
parent
4c9c9d72
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server.h
View file @
ffd1600c
...
...
@@ -164,7 +164,7 @@ typedef long long mstime_t; /* millisecond time type. */
#define PROTO_REPLY_CHUNK_BYTES (16*1024)
/* 16k output buffer */
#define PROTO_INLINE_MAX_SIZE (1024*64)
/* Max size of inline reads */
#define PROTO_MBULK_BIG_ARG (1024*32)
#define LONG_STR_SIZE 21
/* Bytes needed for long -> str */
#define LONG_STR_SIZE 21
/* Bytes needed for long -> str
+ '\0'
*/
#define AOF_AUTOSYNC_BYTES (1024*1024*32)
/* fdatasync every 32MB */
/* When configuring the server eventloop, we setup it so that the total number
...
...
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