mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2024-12-14 11:58:02 +00:00
fix(server): support cancel status for brpoplpush
Signed-off-by: adi_holden <adi@dragonflydb.io>
This commit is contained in:
parent
83a12b99c6
commit
eab8e56a47
1 changed files with 1 additions and 0 deletions
|
@ -784,6 +784,7 @@ void BRPopLPush(CmdArgList args, ConnectionContext* cntx) {
|
|||
|
||||
switch (op_res.status()) {
|
||||
case OpStatus::TIMED_OUT:
|
||||
case OpStatus::CANCELLED:
|
||||
return rb->SendNull();
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue