From 95bb4dcb43a91a065517d6be4c897486bdb1f403 Mon Sep 17 00:00:00 2001 From: Yusaku Kaneta Date: Mon, 17 Oct 2016 18:22:57 +0900 Subject: [PATCH] added an optional mode to the example module --- example/module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/module.c b/example/module.c index b990a70..8e5f294 100644 --- a/example/module.c +++ b/example/module.c @@ -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);