Skip to content
This repository was archived by the owner on Mar 24, 2021. It is now read-only.
This repository was archived by the owner on Mar 24, 2021. It is now read-only.

Make delivery report threadlocal by default, but switchable #483

@johnistan

Description

@johnistan

The explanation for why the delivery_report queue is thread local make sense:

#344 (comment)

However I have a use case where i would like a centralize handler of delivery exceptions. That is many "producers" and one background thread monitor the delivery_report queue. If you guys know of a way to accomplish this given the current implementation, please let know and this change might be unneeded.

What are thoughts on allowing the delivery_report to optionally be a global queue. (something like delivery_report_queue_thread_local defaults True.) There is an obvious tradeoff between api complexity and flexibility.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions