mirror of
https://github.com/fluencelabs/redis
synced 2025-03-25 11:51:03 +00:00
Tidy grammar in CONFIG SET maxmemory warning.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
parent
cf76af6b9f
commit
eaeba1b2c8
@ -648,7 +648,7 @@ void configSetCommand(redisClient *c) {
|
|||||||
server.maxmemory = ll;
|
server.maxmemory = ll;
|
||||||
if (server.maxmemory) {
|
if (server.maxmemory) {
|
||||||
if (server.maxmemory < zmalloc_used_memory()) {
|
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();
|
freeMemoryIfNeeded();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user