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
51e01c04
Commit
51e01c04
authored
Jul 08, 2014
by
antirez
Browse files
createLatencyReport(): initialize all advices to zero.
parent
7fb90a67
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/latency.c
View file @
51e01c04
...
...
@@ -199,9 +199,9 @@ sds createLatencyReport(void) {
int
advise_local_disk
=
0
;
/* Avoid remote disks. */
int
advise_ssd
=
0
;
/* Use an SSD drive. */
int
advise_write_load_info
=
0
;
/* Print info about AOF and write load. */
int
advise_hz
;
/* Use higher HZ. */
int
advise_large_objects
;
/* Deletion of large objects. */
int
advise_relax_fsync_policy
;
/* appendfsync always is slow. */
int
advise_hz
=
0
/* Use higher HZ. */
int
advise_large_objects
=
0
;
/* Deletion of large objects. */
int
advise_relax_fsync_policy
=
0
;
/* appendfsync always is slow. */
int
advices
=
0
;
/* Return ASAP if the latency engine is disabled and it looks like it
...
...
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