mirror of
https://github.com/fluencelabs/redis
synced 2025-04-01 15:21:03 +00:00
Remove no longer relevant comment in processCommand().
This commit is contained in:
parent
5a0b7212c9
commit
7e0cc2bb91
@ -2607,15 +2607,11 @@ int processCommand(client *c) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Handle the maxmemory directive.
|
/* 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
|
* 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
|
* the event loop since there is a busy Lua script running in timeout
|
||||||
* condition, to avoid mixing the propagation of scripts with the propagation
|
* condition, to avoid mixing the propagation of scripts with the
|
||||||
* of DELs due to eviction. */
|
* propagation of DELs due to eviction. */
|
||||||
if (server.maxmemory && !server.lua_timedout) {
|
if (server.maxmemory && !server.lua_timedout) {
|
||||||
int out_of_memory = freeMemoryIfNeeded() == C_ERR;
|
int out_of_memory = freeMemoryIfNeeded() == C_ERR;
|
||||||
/* freeMemoryIfNeeded may flush slave output buffers. This may result
|
/* freeMemoryIfNeeded may flush slave output buffers. This may result
|
||||||
|
Loading…
x
Reference in New Issue
Block a user