diff options
author | zhenwei pi <pizhenwei@bytedance.com> | 2022-08-22 19:44:55 +0800 |
---|---|---|
committer | zhenwei pi <pizhenwei@bytedance.com> | 2022-08-22 19:44:55 +0800 |
commit | 89e11486880a59dad3857499e69e54c0b27be689 (patch) | |
tree | 5df2d05c00a0ba8a73dec33e3c0e2ab11d5838d9 /.github | |
parent | 8a59c193105b6ad4cb2b9cc910f0b1ab34d0a3d8 (diff) | |
download | redis-89e11486880a59dad3857499e69e54c0b27be689.tar.gz |
Introduce redis module ctx flag 'server startup'
A module may be loaded only during initial stage, a typical case is
connection type shared library.
Introduce REDISMODULE_CTX_FLAGS_SERVER_STARTUP context flag
to tell the module the stage of Redis. Then the module gets the flag
by RedisModule_GetContextFlags(ctx), tests flags and returns error in
onload handler.
Suggested-by: Oran Agra <oran@redislabs.com>
Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions