mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 03:11:54 +00:00
Extracts message_fetch and get_events algorithms for calculating the exponential backoff into a shared helper function. These match the algorithm that were designed for the Python API, except that we use a ratio of 2 rather than sqrt(2) in the message_fetch code path.
20 KiB
20 KiB