mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-04-05 16:26:15 +02:00
fix(downloads): increase retry attempts and backoff for large file downloads
This commit is contained in:
parent
215eba3156
commit
6fddfba000
|
|
@ -228,8 +228,8 @@ export class RunDownloadJob {
|
||||||
try {
|
try {
|
||||||
const job = await queue.add(this.key, params, {
|
const job = await queue.add(this.key, params, {
|
||||||
jobId,
|
jobId,
|
||||||
attempts: 3,
|
attempts: 10,
|
||||||
backoff: { type: 'exponential', delay: 2000 },
|
backoff: { type: 'exponential', delay: 30000 },
|
||||||
removeOnComplete: true,
|
removeOnComplete: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user