mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
revert batch size change
This commit is contained in:
parent
3d986a9036
commit
6385b40e38
1 changed files with 1 additions and 1 deletions
|
|
@ -1244,7 +1244,7 @@ export const deleteLibraryItemsByAdmin = async (
|
|||
}
|
||||
|
||||
export const batchDelete = async (criteria: FindOptionsWhere<LibraryItem>) => {
|
||||
const batchSize = 100
|
||||
const batchSize = 1000
|
||||
|
||||
const qb = libraryItemRepository.createQueryBuilder().where(criteria)
|
||||
const countSql = queryBuilderToRawSql(qb.select('COUNT(1)'))
|
||||
|
|
|
|||
Loading…
Reference in a new issue