Skip to content

Pipeline execute in async blocks as it packs the commands #3416

Description

@rad-pat

Version:
redis-py: 5.11

Platform:
Python 3.12/Ubuntu 24.04

Description:
Executing a pipeline of many commands in asyncio blocks whilst it packs the commands

all_cmds = connection.pack_commands(

I'm not really sure how to build a repl to demonstrate the issue, but we have a case where we are sending many (200k) commands to a pipeline as a transaction, it blocks for several seconds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions