Idempotency

This commit is contained in:
Adria Navarro 2023-11-27 16:23:57 +01:00
parent 45fcf2c143
commit f2fcf0f6c2
1 changed files with 5 additions and 1 deletions

View File

@ -11,8 +11,12 @@ export async function checkMissingMigrations(appId: string) {
await queue.add(
{
appId,
},
{
jobId: appId,
removeOnComplete: true,
removeOnFail: true,
}
// TODO: idempotency
)
}
}