added an optional mode to the example module

master
Yusaku Kaneta 8 years ago
parent 6ed678a914
commit 95bb4dcb43

@ -137,7 +137,7 @@ int RedisModule_OnLoad(RedisModuleCtx *ctx) {
}
// register example.hgetset - using the shortened utility registration macro
RMUtil_RegisterWriteCmd(ctx, "example.hgetset", HGetSetCommand);
RMUtil_RegisterWriteCmd(ctx, "example.hgetset", HGetSetCommand, "fast");
// register the unit test
RMUtil_RegisterWriteCmd(ctx, "example.test", TestModule);

Loading…
Cancel
Save