mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 19:31:58 +00:00
aioapns already has a retry loop. By default it retries forever on ConnectionError and ConnectionClosed, so our own retry loop would never be reached. Remove our retry loop, and configure aioapns to retry APNS_MAX_RETRIES times on ConnectionError like the previous version did. It still retries forever on ConnectionClosed; that’s not configurable but probably fine. Signed-off-by: Anders Kaseorg <anders@zulip.com>
100 KiB
100 KiB