Merge pull request #34720 from frappe/mergify/bp/version-13-hotfix/pr-34715

fix: bom update log not working for large batch size (backport #34715)
This commit is contained in:
rohitwaghchaure
2023-04-03 16:55:37 +05:30
committed by GitHub

View File

@@ -151,7 +151,7 @@ def queue_bom_cost_jobs(
while current_boms_list:
batch_no += 1
batch_size = 20_000
batch_size = 7_000
boms_to_process = current_boms_list[:batch_size] # slice out batch of 20k BOMs
# update list to exclude 20K (queued) BOMs