Skip to content

Commit f61f1c0

Browse files
committed
fix(BrowserController): Align exponential backoff interval with chosen sync interval
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent 6d063a2 commit f61f1c0

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/lib/browser/BrowserController.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ class AlarmManager {
3333
continue
3434
}
3535
if (data.error && data.errorCount > 1) {
36-
const interval = 1000 * 60 * 5 // 5min
3736
if (Date.now() > interval * 2 ** data.errorCount + lastSync) {
3837
promises.push(this.ctl.scheduleSync(accountId))
3938
}

0 commit comments

Comments
 (0)