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
cb98ae12
Commit
cb98ae12
authored
Jul 15, 2015
by
Tom Kiemes
Browse files
Fix: aof_delayed_fsync is not reset
aof_delayed_fsync was not set to 0 when calling CONFIG RESETSTAT
parent
fbb9d619
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis.c
View file @
cb98ae12
...
@@ -1645,6 +1645,7 @@ void resetServerStats(void) {
...
@@ -1645,6 +1645,7 @@ void resetServerStats(void) {
}
}
server
.
stat_net_input_bytes
=
0
;
server
.
stat_net_input_bytes
=
0
;
server
.
stat_net_output_bytes
=
0
;
server
.
stat_net_output_bytes
=
0
;
server
.
aof_delayed_fsync
=
0
;
}
}
void
initServer
(
void
)
{
void
initServer
(
void
)
{
...
...
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