Skip to content

Commit

Permalink
Merge pull request #34720 from frappe/mergify/bp/version-13-hotfix/pr…
Browse files Browse the repository at this point in the history
…-34715

fix: bom update log not working for large batch size (backport #34715)
  • Loading branch information
rohitwaghchaure authored Apr 3, 2023
2 parents e7fd47a + 9cf30d7 commit 313aecf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 313aecf

Please sign in to comment.