diff --git a/src/main/java/io/github/erp/erp/depreciation/DepreciationJobSequenceServiceImpl.java b/src/main/java/io/github/erp/erp/depreciation/DepreciationJobSequenceServiceImpl.java index 5d0b56443e..15cc1e7a02 100644 --- a/src/main/java/io/github/erp/erp/depreciation/DepreciationJobSequenceServiceImpl.java +++ b/src/main/java/io/github/erp/erp/depreciation/DepreciationJobSequenceServiceImpl.java @@ -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