mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Clarify that the LOG_STR_SIZE includes null term.
This commit is contained in:
parent
4c9c9d726a
commit
ffd1600ccf
@ -164,7 +164,7 @@ typedef long long mstime_t; /* millisecond time type. */
|
|||||||
#define PROTO_REPLY_CHUNK_BYTES (16*1024) /* 16k output buffer */
|
#define PROTO_REPLY_CHUNK_BYTES (16*1024) /* 16k output buffer */
|
||||||
#define PROTO_INLINE_MAX_SIZE (1024*64) /* Max size of inline reads */
|
#define PROTO_INLINE_MAX_SIZE (1024*64) /* Max size of inline reads */
|
||||||
#define PROTO_MBULK_BIG_ARG (1024*32)
|
#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 */
|
#define AOF_AUTOSYNC_BYTES (1024*1024*32) /* fdatasync every 32MB */
|
||||||
|
|
||||||
/* When configuring the server eventloop, we setup it so that the total number
|
/* When configuring the server eventloop, we setup it so that the total number
|
||||||
|
Loading…
Reference in New Issue
Block a user