Commit 032ed99
committed
fix(PollingBackend): increase poll interval on repeated network errors
When returning to a backgrounded tab, `visibilitychange` resets the fetch
interval to the minimum (300ms). Network errors never called
`increaseRefetchTimer()`, so the aggressive rate persisted indefinitely
while offline, causing ~3 sync requests per second.
Signed-off-by: Jonas <jonas@freesources.org>1 parent 930bd9c commit 032ed99
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| 182 | + | |
182 | 183 | | |
183 | 184 | | |
184 | 185 | | |
| |||
0 commit comments