bsky-app/src/state/messages/convo/const.ts
Eric Bailey 9096655955
Reduce polling (#4204)
* Reduce polling a bit

* Bump to 60

* Increase all

* ok 3
2024-05-23 17:21:47 -05:00

7 lines
221 B
TypeScript

export const ACTIVE_POLL_INTERVAL = 3e3
export const BACKGROUND_POLL_INTERVAL = 60e3
export const INACTIVE_TIMEOUT = 60e3 * 5
export const NETWORK_FAILURE_STATUSES = [
1, 408, 425, 429, 500, 502, 503, 504, 522, 524,
]