Skip to content

Commit f0f9eff

Browse files
committed
add RMUtil_RegisterWriteDenyOOMCmd
1 parent 1564e8f commit f0f9eff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rmutil/util.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
#define RMUtil_RegisterWriteCmd(ctx, cmd, f) __rmutil_register_cmd(ctx, cmd, f, "write")
2424

25+
#define RMUtil_RegisterWriteDenyOOMCmd(ctx, cmd, f) __rmutil_register_cmd(ctx, cmd, f, "write deny-oom")
26+
2527
/* RedisModule utilities. */
2628

2729
/** DEPRECATED: Return the offset of an arg if it exists in the arg list, or 0 if it's not there */

0 commit comments

Comments
 (0)