Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(notification client): bump sliding sync timeouts (#2403)
The timeouts were a bit too agressive, according to some user logs, resulting in failing to load the event mentioned in the notification. Here's the rationale for the new timeouts: we're only limited by the iOS process which has *at most* 30 seconds to process a notification. - We're running at most 3 requests of the notification sliding sync, so that will be (1+3)*3 = 12 seconds allocated for that. - If we've found an event but it required decryption, we're running the encryption sync up to 2 times, (3+4) seconds each => 14 seconds. At most we're eating up 26 seconds of the entire time, leaving some ballast for the rest of the program.
- Loading branch information