Skip to content

await get_channel_layer().receive() doesn't connect #38

@adamhooper

Description

@adamhooper

If you call await get_channel_layer().receive() on a newly-instantiated channel layer, it won't connect to RabbitMQ. The connect only happens on send() or group_add().

To fix, make receive() await the connection. (Ignore failed connections?)

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