mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Set REDIS_AOF_REWRITE_MIN_SIZE to 64mb.
64mb is the default value in redis.conf. For some reason instead the hard-coded default was 1mb that is too small.
This commit is contained in:
parent
d5763dceaf
commit
5189485625
@ -81,7 +81,7 @@
|
|||||||
#define REDIS_SHARED_BULKHDR_LEN 32
|
#define REDIS_SHARED_BULKHDR_LEN 32
|
||||||
#define REDIS_MAX_LOGMSG_LEN 1024 /* Default maximum length of syslog messages */
|
#define REDIS_MAX_LOGMSG_LEN 1024 /* Default maximum length of syslog messages */
|
||||||
#define REDIS_AOF_REWRITE_PERC 100
|
#define REDIS_AOF_REWRITE_PERC 100
|
||||||
#define REDIS_AOF_REWRITE_MIN_SIZE (1024*1024)
|
#define REDIS_AOF_REWRITE_MIN_SIZE (64*1024*1024)
|
||||||
#define REDIS_AOF_REWRITE_ITEMS_PER_CMD 64
|
#define REDIS_AOF_REWRITE_ITEMS_PER_CMD 64
|
||||||
#define REDIS_SLOWLOG_LOG_SLOWER_THAN 10000
|
#define REDIS_SLOWLOG_LOG_SLOWER_THAN 10000
|
||||||
#define REDIS_SLOWLOG_MAX_LEN 128
|
#define REDIS_SLOWLOG_MAX_LEN 128
|
||||||
|
Loading…
Reference in New Issue
Block a user