Skip to content

Commit eaeef12

Browse files
committed
Added same keys entry removal in pipeline
1 parent 59fe379 commit eaeef12

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

redis/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1421,6 +1421,8 @@ def _execute_transaction(self, connection, commands, raise_on_error) -> List:
14211421
for r, cmd in zip(response, commands):
14221422
if not isinstance(r, Exception):
14231423
args, options = cmd
1424+
# Remove keys entry, it needs only for cache.
1425+
options.pop("keys", None)
14241426
command_name = args[0]
14251427
if command_name in self.response_callbacks:
14261428
r = self.response_callbacks[command_name](r, **options)

0 commit comments

Comments
 (0)