From 7e0cc2bb91dc610b68d2e063728a4416efd19885 Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 7 Dec 2018 17:06:55 +0100 Subject: [PATCH] Remove no longer relevant comment in processCommand(). --- src/server.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/server.c b/src/server.c index cc335ebd..921311a9 100644 --- a/src/server.c +++ b/src/server.c @@ -2607,15 +2607,11 @@ int processCommand(client *c) { } /* Handle the maxmemory directive. - * - * First we try to free some memory if possible (if there are volatile - * keys in the dataset). If there are not the only thing we can do - * is returning an error. * * Note that we do not want to reclaim memory if we are here re-entering * the event loop since there is a busy Lua script running in timeout - * condition, to avoid mixing the propagation of scripts with the propagation - * of DELs due to eviction. */ + * condition, to avoid mixing the propagation of scripts with the + * propagation of DELs due to eviction. */ if (server.maxmemory && !server.lua_timedout) { int out_of_memory = freeMemoryIfNeeded() == C_ERR; /* freeMemoryIfNeeded may flush slave output buffers. This may result