Commit eaeba1b2 authored by Chris Lamb's avatar Chris Lamb
Browse files

Tidy grammar in CONFIG SET maxmemory warning.


Signed-off-by: default avatarChris Lamb <chris@chris-lamb.co.uk>
parent cf76af6b
......@@ -648,7 +648,7 @@ void configSetCommand(redisClient *c) {
server.maxmemory = ll;
if (server.maxmemory) {
if (server.maxmemory < zmalloc_used_memory()) {
redisLog(REDIS_WARNING,"WARNING: the new maxmemory value set via CONFIG SET is smaller than the current memory usage. This will result in keys eviction and/or inability to accept new write commands depending on the maxmemory-policy.");
redisLog(REDIS_WARNING,"WARNING: the new maxmemory value set via CONFIG SET is smaller than the current memory usage. This will result in key eviction and/or the inability to accept new write commands depending on the maxmemory-policy.");
}
freeMemoryIfNeeded();
}
......
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