Skip to content

Commit

Permalink
fix: fix build creation concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Oct 25, 2024
1 parent 1a74360 commit 4e93777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/backend/src/build/createBuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit 4e93777

Please sign in to comment.