mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 05:21:33 +00:00
Fix config set slowlog-log-slower-than and condition in createLatencyReport
This commit is contained in:
@ -294,7 +294,7 @@ sds createLatencyReport(void) {
|
||||
|
||||
/* Potentially commands. */
|
||||
if (!strcasecmp(event,"command")) {
|
||||
if (server.slowlog_log_slower_than == 0) {
|
||||
if (server.slowlog_log_slower_than < 0) {
|
||||
advise_slowlog_enabled = 1;
|
||||
advices++;
|
||||
} else if (server.slowlog_log_slower_than/1000 >
|
||||
|
Reference in New Issue
Block a user