Idempotency
This commit is contained in:
parent
45fcf2c143
commit
f2fcf0f6c2
|
@ -11,8 +11,12 @@ export async function checkMissingMigrations(appId: string) {
|
|||
await queue.add(
|
||||
{
|
||||
appId,
|
||||
},
|
||||
{
|
||||
jobId: appId,
|
||||
removeOnComplete: true,
|
||||
removeOnFail: true,
|
||||
}
|
||||
// TODO: idempotency
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue