mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 12:38:24 +02:00
increase
This commit is contained in:
parent
4be6d096f9
commit
1bacd6f089
3 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
export function retry<T>(
|
||||
fn: () => Promise<T>,
|
||||
retries: number,
|
||||
timeout = 5000
|
||||
timeout = 10000
|
||||
): Promise<T> {
|
||||
return fn().catch((err) => {
|
||||
if (retries <= 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue