From 1f3c097b1c3e35ef523c80c7dddf7260948eea0d Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 9 Jul 2014 16:45:40 +0200 Subject: [PATCH] Fixed a few missing newline in createLatencyReport(). --- src/latency.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/latency.c b/src/latency.c index 1ba3a36a..7dde91a3 100644 --- a/src/latency.c +++ b/src/latency.c @@ -209,7 +209,7 @@ sds createLatencyReport(void) { if (dictSize(server.latency_events) == 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 .\" 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 .\" 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; } @@ -407,7 +407,7 @@ sds createLatencyReport(void) { } 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) { -- GitLab