Skip to content

Commit

Permalink
Merge pull request #1 from itamarhaber/patch-1
Browse files Browse the repository at this point in the history
Additional command creation flags
  • Loading branch information
daTokenizer committed Nov 30, 2016
2 parents 348f456 + cd4f017 commit 8e727f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module.c
Expand Up @@ -2,7 +2,7 @@


#define RMUtil_RegisterReadCmd(ctx, cmd, f) \
if (RedisModule_CreateCommand(ctx, cmd, f, "readonly", \
if (RedisModule_CreateCommand(ctx, cmd, f, "readonly fast allow-loading allow-stale", \
1, 1, 1) == REDISMODULE_ERR) return REDISMODULE_ERR;

int CommentCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc)
Expand Down

0 comments on commit 8e727f3

Please sign in to comment.