remove unnecessary logs
Former-commit-id: 23f9b584a8e6d082c696b69ff7e1c21e982aae23
This commit is contained in:
parent
5c64ba23ca
commit
fe6fe08ad1
@ -4068,7 +4068,6 @@ sds genRedisInfoString(char *section) {
|
|||||||
bytesToHuman(maxmemory_hmem,server.maxmemory);
|
bytesToHuman(maxmemory_hmem,server.maxmemory);
|
||||||
|
|
||||||
if (sections++) info = sdscat(info,"\r\n");
|
if (sections++) info = sdscat(info,"\r\n");
|
||||||
serverLog(LL_WARNING, "OOM max sent used_memory: %zu", zmalloc_used);
|
|
||||||
info = sdscatprintf(info,
|
info = sdscatprintf(info,
|
||||||
"# Memory\r\n"
|
"# Memory\r\n"
|
||||||
"used_memory:%zu\r\n"
|
"used_memory:%zu\r\n"
|
||||||
@ -4503,7 +4502,6 @@ void infoCommand(client *c) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
addReplyBulkSds(c, genRedisInfoString(section));
|
addReplyBulkSds(c, genRedisInfoString(section));
|
||||||
serverLog(LL_WARNING, "OOM max info command %zu", zmalloc_used_memory());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void monitorCommand(client *c) {
|
void monitorCommand(client *c) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user