Skip to content

Commit

Permalink
fix: Use the right API
Browse files Browse the repository at this point in the history
In order to avoid warning
  • Loading branch information
Crash-- committed Mar 20, 2024
1 parent 2a61b0c commit 79bc63f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ducks/categorization/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const categorizeChunk = async (categorizer, chunk) => {
const categorizedTransactions = categorizer.categorize(chunk)
categorizedTransactions.forEach(t => (t.toCategorize = false))

await BankTransaction.bulkSave(categorizedTransactions, 30)
await BankTransaction.bulkSave(categorizedTransactions, { concurrency: 30 })

const timeEnd = new Date()
const timeElapsed = differenceInSeconds(timeEnd, timeStart)
Expand Down

0 comments on commit 79bc63f

Please sign in to comment.