mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 04:59:30 +00:00
fix: Only cleanup same app
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user