Skip to content

Commit

Permalink
tune
Browse files Browse the repository at this point in the history
  • Loading branch information
inker committed Jul 9, 2024
1 parent 2ecc82a commit 95f7a76
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ export default ({
};
},
getTimeout: workerIndex => {
const factor = workerIndex === 0 ? 50 : 7 / (workerIndex + 1);
return factor * 10000;
const power = (workerIndex / (NUM_WORKERS - 1)) ** 2;
return 5000 * 5 ** power;
},
signal,
});

0 comments on commit 95f7a76

Please sign in to comment.