mirror of
https://github.com/fluencelabs/redis
synced 2025-06-16 10:41:22 +00:00
getMaxmemoryState() fixed and improved.
This commit is contained in:
@ -1369,7 +1369,7 @@ int RM_GetContextFlags(RedisModuleCtx *ctx) {
|
||||
}
|
||||
|
||||
/* OOM flag. */
|
||||
if (getMaxmemoryState(NULL,NULL,NULL) == C_ERR) {
|
||||
if (getMaxmemoryState(NULL,NULL,NULL,NULL) == C_ERR) {
|
||||
flags |= REDISMODULE_CTX_FLAGS_OOM;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user