fix: Only cleanup same app
This commit is contained in:
parent
7b8555d524
commit
541aa76b64
@ -56,7 +56,7 @@ export default async function (job) {
|
||||
await asyncSleep(1000);
|
||||
|
||||
await db.prisma.build.updateMany({
|
||||
where: { status: 'queued', id: { not: buildId } },
|
||||
where: { status: 'queued', id: { not: buildId }, applicationId },
|
||||
data: { status: 'failed' }
|
||||
});
|
||||
let imageId = applicationId;
|
||||
|
Loading…
Reference in New Issue
Block a user