Skip to content

Commit

Permalink
tune
Browse files Browse the repository at this point in the history
  • Loading branch information
inker committed Jul 7, 2024
1 parent 0bd6ba3 commit 8ce1d3f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ export default ({
allGames: orderedGames,
};
},
getTimeout: (workerIndex, attempt) => {
getTimeout: workerIndex => {
const factor = workerIndex === 0 ? 100 : 7 / (workerIndex + 1);
return factor * Math.min(5000, 5000 * Math.exp(attempt / 10));
return factor * 5000;
},
signal,
});

0 comments on commit 8ce1d3f

Please sign in to comment.