zulip/zerver
Alex Vandiver 3264361f63 push_notifications: Set a timeout on FCM requests.
In steady-state, requests to FCM take about a second; however, in
cases where the remote FCM server is unstable, the request has been
observed to block for more than a minute.

As noted in the previous commit, pushes must complete within 30s;
fail fast, and let the retries and exponential backoff handle errors.

The worst-case total time taken with timeouts and errors for an FCM
notification is 19.5s.  Unfortunately, `aioapns` does not appear to
have any timeouts, and thus this commit cannot guarantee a total of
fewer than 30s.
2022-03-08 12:52:58 -08:00
..
data_import docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
integration_fixtures/nagios
lib push_notifications: Set a timeout on FCM requests. 2022-03-08 12:52:58 -08:00
management upgrade-zulip-stage-2: Remove create_large_indexes optimization. 2022-02-23 11:59:45 -08:00
migrations models: Add unique constraint on RealmUserDefault.realm. 2022-03-07 21:43:07 -08:00
openapi api: Add additional fields to edit_history entries. 2022-03-04 10:25:48 -08:00
tests tests: Avoid use of Python internal __unittest_skip__ flag. 2022-03-07 16:26:37 -08:00
tornado docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
views stream_settings: Show stream privacy & description in stream events. 2022-03-07 11:53:49 -08:00
webhooks docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
worker invite: Add backend support for "Never expires" option. 2022-02-24 16:32:19 -08:00
__init__.py
apps.py
context_processors.py home: Simplify and comment terms of service notice implementation. 2022-02-04 15:48:38 -08:00
decorator.py decorator: Enable web-public view for production. 2022-02-16 13:25:53 -08:00
filters.py
forms.py
logging_handlers.py
middleware.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
models.py models: Add unique constraint on RealmUserDefault.realm. 2022-03-07 21:43:07 -08:00
signals.py signals: Lazily import zerver.actions. 2022-02-24 14:31:24 -08:00