Commit 067e3650 authored by antirez's avatar antirez
Browse files

Fixed a few missing newline in createLatencyReport().

parent fda2b303
...@@ -209,7 +209,7 @@ sds createLatencyReport(void) { ...@@ -209,7 +209,7 @@ sds createLatencyReport(void) {
if (dictSize(server.latency_events) == 0 && if (dictSize(server.latency_events) == 0 &&
server.latency_monitor_threshold == 0) server.latency_monitor_threshold == 0)
{ {
report = sdscat(report,"I'm sorry, Dave, I can't do that. Latency monitoring is disabled in this Redis instance. You may use \"CONFIG SET latency-monitor-threshold <milliseconds>.\" in order to enable it. If we weren't in a deep space mission I'd suggest to take a look at http://redis.io/topics/latency-monitor."); report = sdscat(report,"I'm sorry, Dave, I can't do that. Latency monitoring is disabled in this Redis instance. You may use \"CONFIG SET latency-monitor-threshold <milliseconds>.\" in order to enable it. If we weren't in a deep space mission I'd suggest to take a look at http://redis.io/topics/latency-monitor.\n");
return report; return report;
} }
...@@ -407,7 +407,7 @@ sds createLatencyReport(void) { ...@@ -407,7 +407,7 @@ sds createLatencyReport(void) {
} }
if (advise_write_load_info) { if (advise_write_load_info) {
report = sdscat(report,"- Latency during the AOF atomic rename operation or when the final difference is flushed to the AOF file at the end of the rewrite, sometimes is caused by very high write load, causing the AOF buffer to get very large. If possible try to send less commands to accomplish the same work, or use Lua scripts to group multiple operations into a single EVALSHA call."); report = sdscat(report,"- Latency during the AOF atomic rename operation or when the final difference is flushed to the AOF file at the end of the rewrite, sometimes is caused by very high write load, causing the AOF buffer to get very large. If possible try to send less commands to accomplish the same work, or use Lua scripts to group multiple operations into a single EVALSHA call.\n");
} }
if (advise_hz && server.hz < 100) { if (advise_hz && server.hz < 100) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment