mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 22:14:26 +00:00
fix: Only cleanup same app
This commit is contained in:
1 parent
7b8555d524
commit
541aa76b64
1 file changed
+1
-1
@@ -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