mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 00:50:50 +00:00
Limit statement in RM_BlockClient() to 80 cols.
This commit is contained in:
parent
54ad626cce
commit
2bf8c2c130
@ -3423,7 +3423,8 @@ RedisModuleBlockedClient *RM_BlockClient(RedisModuleCtx *ctx, RedisModuleCmdFunc
|
|||||||
|
|
||||||
if (islua || ismulti) {
|
if (islua || ismulti) {
|
||||||
c->bpop.module_blocked_handle = NULL;
|
c->bpop.module_blocked_handle = NULL;
|
||||||
addReplyError(c, islua ? "Blocking module command called from Lua script" :
|
addReplyError(c, islua ?
|
||||||
|
"Blocking module command called from Lua script" :
|
||||||
"Blocking module command called from transaction");
|
"Blocking module command called from transaction");
|
||||||
} else {
|
} else {
|
||||||
blockClient(c,BLOCKED_MODULE);
|
blockClient(c,BLOCKED_MODULE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user