diff options
author | WuYunlong <xzsyeb@126.com> | 2017-07-15 10:20:56 +0800 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2017-07-24 15:21:14 +0200 |
commit | 8774228cc5c2d3f60f430f81a4b005f78d5760a9 (patch) | |
tree | 2dffea8bdec3261199772d4a748b715aeb7b33f1 | |
parent | ab900303b88c2cd4f09c8404cfd21577c3eefb85 (diff) | |
download | redis-8774228cc5c2d3f60f430f81a4b005f78d5760a9.tar.gz |
fix rewrite config: auto-aof-rewrite-min-size
-rw-r--r-- | src/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.c b/src/config.c index 18cd12ca7..c1919f27a 100644 --- a/src/config.c +++ b/src/config.c @@ -911,8 +911,6 @@ void configSetCommand(client *c) { } config_set_numerical_field( "auto-aof-rewrite-percentage",server.aof_rewrite_perc,0,LLONG_MAX){ } config_set_numerical_field( - "auto-aof-rewrite-min-size",server.aof_rewrite_min_size,0,LLONG_MAX) { - } config_set_numerical_field( "hash-max-ziplist-entries",server.hash_max_ziplist_entries,0,LLONG_MAX) { } config_set_numerical_field( "hash-max-ziplist-value",server.hash_max_ziplist_value,0,LLONG_MAX) { @@ -986,6 +984,8 @@ void configSetCommand(client *c) { } } config_set_memory_field("repl-backlog-size",ll) { resizeReplicationBacklog(ll); + } config_set_memory_field("auto-aof-rewrite-min-size",ll) { + server.aof_rewrite_min_size = ll; /* Enumeration fields. * config_set_enum_field(name,var,enum_var) */ |