mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Merge pull request #2507 from scott-ray-wilson/integration-sync-retry-fix
Fix: Integration Sync Retry on Error Patch
This commit is contained in:
@@ -930,6 +930,11 @@ export const secretQueueFactory = ({
|
||||
}
|
||||
});
|
||||
|
||||
// re-throw error to re-run job unless final attempt, then log and send fail email
|
||||
if (job.attemptsStarted !== job.opts.attempts) {
|
||||
throw err;
|
||||
}
|
||||
|
||||
await integrationDAL.updateById(integration.id, {
|
||||
lastSyncJobId: job.id,
|
||||
syncMessage: message,
|
||||
|
||||
Reference in New Issue
Block a user