Skip to content

Commit be15cf3

Browse files
committed
actually did the math correctly
1 parent ebd21ae commit be15cf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/poll.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class Poll {
2727

2828
if (this.inBackground) {
2929
// Throttle requests by 95% when the page is in the background
30-
this.currentInterval = Math.round(this.originalInterval / 0.95)
30+
this.currentInterval = Math.round(this.originalInterval / 0.05)
3131
} else {
3232
this.currentInterval = this.originalInterval
3333
}

0 commit comments

Comments
 (0)