Skip to content

Commit

Permalink
Skeleton for URL router
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger committed Sep 14, 2023
1 parent 0a4b98e commit df3907e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/js/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,8 @@ export function nextInterval(
maxInterval: number
): number {
return Math.min(
currentInterval *
// increase interval by backoff multiplier
backoffMultiplier,
// increase interval by backoff multiplier
currentInterval * backoffMultiplier,
// don't exceed max interval
maxInterval
);
Expand Down
Empty file.
Empty file.

0 comments on commit df3907e

Please sign in to comment.