summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2015-02-04 18:29:22 +0000
committerChris Lamb <chris@chris-lamb.co.uk>2015-02-04 18:37:34 +0000
commiteaeba1b2c85812c6b16a8ef50bf889d72804db09 (patch)
tree8d0100ecef9d03904c2c4be30420d8076b840009
parentcf76af6b9fb7f808ac6f0ab79393d390a14f9cd9 (diff)
downloadredis-eaeba1b2c85812c6b16a8ef50bf889d72804db09.tar.gz
Tidy grammar in CONFIG SET maxmemory warning.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
-rw-r--r--src/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index 8255a56b7..f0a019517 100644
--- a/src/config.c
+++ b/src/config.c
@@ -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();
}