summaryrefslogtreecommitdiff
path: root/src/modules/helloblock.c
diff options
context:
space:
mode:
authorGuy Korland <gkorland@gmail.com>2021-10-25 12:00:43 +0300
committerGitHub <noreply@github.com>2021-10-25 12:00:43 +0300
commit6cf6c36937ab276dba3f8a23fc16b2f10c0bc072 (patch)
tree939a236f235908fb28f6b27a7e35a82503854311 /src/modules/helloblock.c
parent00362f2a941f83fa3b3675d4aeb63ecdb5fab709 (diff)
downloadredis-6cf6c36937ab276dba3f8a23fc16b2f10c0bc072.tar.gz
Replace deprecated REDISMODULE_POSTPONED_ARRAY_LEN in module tests and examples (#9677)
REDISMODULE_POSTPONED_ARRAY_LEN is deprecated, use REDISMODULE_POSTPONED_LEN instead
Diffstat (limited to 'src/modules/helloblock.c')
-rw-r--r--src/modules/helloblock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/helloblock.c b/src/modules/helloblock.c
index b90ccaa50..afdfeece4 100644
--- a/src/modules/helloblock.c
+++ b/src/modules/helloblock.c
@@ -142,7 +142,7 @@ void *HelloKeys_ThreadMain(void *arg) {
long long cursor = 0;
size_t replylen = 0;
- RedisModule_ReplyWithArray(ctx,REDISMODULE_POSTPONED_ARRAY_LEN);
+ RedisModule_ReplyWithArray(ctx,REDISMODULE_POSTPONED_LEN);
do {
RedisModule_ThreadSafeContextLock(ctx);
RedisModuleCallReply *reply = RedisModule_Call(ctx,