From 4e9377702150db37d84d2a86f41d9ce7aa72cec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Berg=C3=A9?= Date: Fri, 25 Oct 2024 12:17:03 +0200 Subject: [PATCH] fix: fix build creation concurrency --- apps/backend/src/build/createBuild.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/backend/src/build/createBuild.ts b/apps/backend/src/build/createBuild.ts index 12a9484d4..a7c210c27 100644 --- a/apps/backend/src/build/createBuild.ts +++ b/apps/backend/src/build/createBuild.ts @@ -127,7 +127,7 @@ export async function createBuild(params: { ]); const build = await lock.acquire( - ["create-build", params.project.id, buildName], + ["create-build", params.project.id], async () => { return transaction(async (trx) => { const bucket = await ScreenshotBucket.query(trx).insertAndFetch({