Skip to content

Commit e9cad6d

Browse files
committed
fix: add retry policy to packagist schedules
Signed-off-by: anilb <epipav@gmail.com>
1 parent 5cd4ea1 commit e9cad6d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

services/apps/packages_worker/src/packagist/schedule.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ export async function schedulePackagistIngest(): Promise<void> {
6060
workflowType: schedule.workflowType,
6161
taskQueue: 'packagist-worker',
6262
workflowRunTimeout: '24 hours',
63+
retry: {
64+
initialInterval: '30 seconds',
65+
backoffCoefficient: 2,
66+
maximumAttempts: 3,
67+
},
6368
args: schedule.args,
6469
},
6570
})

0 commit comments

Comments
 (0)