Reduce listConvos requests (#6378)

* Reduce page size for request

* Remove refetch interval entirely

* Add comment

* Optimistically mark as read

* Drop default active poll interval to 60s from 5min

* Only optimistically update unread count if success
This commit is contained in:
Eric Bailey
2024-11-15 11:34:31 -06:00
committed by GitHub
parent 18aaa19b97
commit db39f3e98a
3 changed files with 46 additions and 11 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
export const DEFAULT_POLL_INTERVAL = 60e3 * 5
export const DEFAULT_POLL_INTERVAL = 60e3
export const BACKGROUND_POLL_INTERVAL = 60e3 * 5