From eab8e56a47213ef1fb1aef97dff03e4f32d4a980 Mon Sep 17 00:00:00 2001 From: adi_holden Date: Tue, 6 Feb 2024 14:15:00 +0200 Subject: [PATCH] fix(server): support cancel status for brpoplpush Signed-off-by: adi_holden --- src/server/list_family.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/list_family.cc b/src/server/list_family.cc index 1923c3e19..1a5bbc17d 100644 --- a/src/server/list_family.cc +++ b/src/server/list_family.cc @@ -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;