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
8774228c
Commit
8774228c
authored
Jul 15, 2017
by
WuYunlong
Committed by
antirez
Jul 24, 2017
Browse files
fix rewrite config: auto-aof-rewrite-min-size
parent
ab900303
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/config.c
View file @
8774228c
...
...
@@ -910,8 +910,6 @@ void configSetCommand(client *c) {
"timeout"
,
server
.
maxidletime
,
0
,
LONG_MAX
)
{
}
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
(
...
...
@@ -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) */
...
...
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