Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
7a7fbe70
Commit
7a7fbe70
authored
Oct 31, 2019
by
antirez
Browse files
Modules: RM_GetContextFlags(): remove non Redis 5 features.
parent
b5830486
Changes
1
Show whitespace changes
Inline
Side-by-side
src/module.c
View file @
7a7fbe70
...
@@ -1596,9 +1596,6 @@ int RM_GetContextFlags(RedisModuleCtx *ctx) {
...
@@ -1596,9 +1596,6 @@ int RM_GetContextFlags(RedisModuleCtx *ctx) {
if
(
retval
==
C_ERR
)
flags
|=
REDISMODULE_CTX_FLAGS_OOM
;
if
(
retval
==
C_ERR
)
flags
|=
REDISMODULE_CTX_FLAGS_OOM
;
if
(
level
>
0
.
75
)
flags
|=
REDISMODULE_CTX_FLAGS_OOM_WARNING
;
if
(
level
>
0
.
75
)
flags
|=
REDISMODULE_CTX_FLAGS_OOM_WARNING
;
/* Presence of children processes. */
if
(
hasActiveChildProcess
())
flags
|=
REDISMODULE_CTX_FLAGS_ACTIVE_CHILD
;
return
flags
;
return
flags
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment