Skip to content

Commit

Permalink
Increase depreciation batch size to 300
Browse files Browse the repository at this point in the history
  • Loading branch information
ghacupha committed Sep 7, 2023
1 parent c84f666 commit dc03e55
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public void triggerDepreciation(DepreciationJobDTO depreciationJob) {

// Process the assets in batches
// TODO externalize this setting, you definitely would not do this for 10,000 items
int batchSize = 10;
int batchSize = 300;
processAssetsInBatches(depreciationJob, assets, batchSize);

// Mark the depreciation job as complete
Expand Down

0 comments on commit dc03e55

Please sign in to comment.