increase batch size to 100

This commit is contained in:
Hongbo Wu 2024-02-22 20:23:37 +08:00
parent f541b8f8ca
commit b947100278

View file

@ -40,7 +40,7 @@ export const exportAllItems = async (jobData: ExportAllItemsJobData) => {
}
const maxItems = 1000
const limit = 50
const limit = 100
let offset = 0
// get max 1000 most recent items from the database
while (offset < maxItems) {