Skip to content

Commit 07376a3

Browse files
committed
Update poll.ts
1 parent be15cf3 commit 07376a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/poll.ts

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export class Poll {
2929
// Throttle requests by 95% when the page is in the background
3030
this.currentInterval = Math.round(this.originalInterval / 0.05)
3131
} else {
32+
// Otherwise, restore the original interval
3233
this.currentInterval = this.originalInterval
3334
}
3435
}

0 commit comments

Comments
 (0)