mirror of
https://github.com/fluencelabs/redis
synced 2025-06-30 17:31:33 +00:00
limit the size of pending-querybuf in masterclient
This commit is contained in:
@ -184,6 +184,7 @@ typedef long long mstime_t; /* millisecond time type. */
|
||||
#define PROTO_MBULK_BIG_ARG (1024*32)
|
||||
#define LONG_STR_SIZE 21 /* Bytes needed for long -> str + '\0' */
|
||||
#define AOF_AUTOSYNC_BYTES (1024*1024*32) /* fdatasync every 32MB */
|
||||
#define LIMIT_PENDING_QUERYBUF (4*1024*1024) /* 4mb */
|
||||
|
||||
/* When configuring the server eventloop, we setup it so that the total number
|
||||
* of file descriptors we can handle are server.maxclients + RESERVED_FDS +
|
||||
|
Reference in New Issue
Block a user