fix: Add nginx + htaccess files
This commit is contained in:
@@ -56,7 +56,12 @@ export default async function (job) {
|
||||
await asyncSleep(1000);
|
||||
|
||||
await db.prisma.build.updateMany({
|
||||
where: { status: 'queued', id: { not: buildId }, applicationId },
|
||||
where: {
|
||||
status: 'queued',
|
||||
id: { not: buildId },
|
||||
applicationId,
|
||||
createdAt: { lt: new Date(new Date().getTime() - 60 * 60 * 1000) }
|
||||
},
|
||||
data: { status: 'failed' }
|
||||
});
|
||||
let imageId = applicationId;
|
||||
|
Reference in New Issue
Block a user