Skip to content

Commit

Permalink
remove set lock_timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
sywhb committed Aug 29, 2024
1 parent f1c4f3b commit 5b7d1bb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/api/src/services/library_item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1335,7 +1335,6 @@ export const batchUpdateLibraryItems = async (
await authTrx(
async (tx) => {
const libraryItemIds = await getLibraryItemIds(userId, tx, true)
await tx.query(`SET lock_timeout = 10000; -- 10 seconds`)
await tx.getRepository(LibraryItem).update(libraryItemIds, values)
},
{
Expand Down

0 comments on commit 5b7d1bb

Please sign in to comment.