pub fn federate_retry_sleep_duration(retry_count: i32) -> DurationExpand description
Calculate how long to sleep until next federation send based on how many retries have already happened. Uses exponential backoff with maximum of one day. The first error is ignored.