Skip to content

Commit 609a304

Browse files
committed
Add context flag
1 parent 3b2f684 commit 609a304

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

redismodule.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,11 +213,13 @@ typedef struct RedisModuleStreamID {
213213
#define REDISMODULE_CTX_FLAGS_ASYNC_LOADING (1<<23)
214214
/* Redis is starting. */
215215
#define REDISMODULE_CTX_FLAGS_SERVER_STARTUP (1<<24)
216+
/* This context can call execute debug commands. */
217+
#define REDISMODULE_CTX_FLAGS_DEBUG_ENABLED (1<<25)
216218

217219
/* Next context flag, must be updated when adding new flags above!
218220
This flag should not be used directly by the module.
219221
* Use RedisModule_GetContextFlagsAll instead. */
220-
#define _REDISMODULE_CTX_FLAGS_NEXT (1<<25)
222+
#define _REDISMODULE_CTX_FLAGS_NEXT (1<<26)
221223

222224
/* Keyspace changes notification classes. Every class is associated with a
223225
* character for configuration purposes.

0 commit comments

Comments
 (0)