remove set lock_timeout
This commit is contained in:
@ -1335,7 +1335,6 @@ export const batchUpdateLibraryItems = async (
|
|||||||
await authTrx(
|
await authTrx(
|
||||||
async (tx) => {
|
async (tx) => {
|
||||||
const libraryItemIds = await getLibraryItemIds(userId, tx, true)
|
const libraryItemIds = await getLibraryItemIds(userId, tx, true)
|
||||||
await tx.query(`SET lock_timeout = 10000; -- 10 seconds`)
|
|
||||||
await tx.getRepository(LibraryItem).update(libraryItemIds, values)
|
await tx.getRepository(LibraryItem).update(libraryItemIds, values)
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user