Skip to content

Commit

Permalink
Merge pull request #1074 from permaweb/jfrain99/add-exponential-backo…
Browse files Browse the repository at this point in the history
…ff-mu-worker

feat(mu): add exponential backoff to the mu worker thread to allow lo…
  • Loading branch information
jfrain99 authored Dec 3, 2024
2 parents 4f1cc24 + 234ad0e commit 354c4e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servers/mu/src/domain/clients/worker-fn.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export function processResultsWith ({
status: 'failure'
})
}
}, TASK_QUEUE_RETRY_DELAY)
}, (2 ** retries) * TASK_QUEUE_RETRY_DELAY)
})
} else {
await new Promise(resolve => setTimeout(resolve, 100))
Expand Down

0 comments on commit 354c4e5

Please sign in to comment.