remove set lock_timeout

This commit is contained in:
Hongbo Wu
2024-08-29 12:41:12 +08:00
parent f1c4f3be3b
commit 5b7d1bba93

View File

@ -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)
},
{