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
ae40e5f3
Commit
ae40e5f3
authored
Jul 24, 2017
by
Salvatore Sanfilippo
Committed by
GitHub
Jul 24, 2017
Browse files
Merge pull request #4125 from trevor211/fixAutoAofRewirteMinSize
fix rewrite config: auto-aof-rewrite-min-size
parents
25c231c4
c32c690d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/config.c
View file @
ae40e5f3
...
...
@@ -1056,8 +1056,6 @@ void configSetCommand(client *c) {
"active-defrag-cycle-max"
,
server
.
active_defrag_cycle_max
,
1
,
99
)
{
}
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
(
...
...
@@ -1136,6 +1134,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