mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
Fixed a few missing newline in createLatencyReport().
This commit is contained in:
parent
fda2b30346
commit
067e365042
@ -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) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user