mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-24 13:42:10 +01:00
fix: bom update log not working for large batch size
(cherry picked from commit d56070301c)
This commit is contained in:
committed by
Mergify
parent
e7fd47ae82
commit
9cf30d7621
@@ -151,7 +151,7 @@ def queue_bom_cost_jobs(
|
|||||||
|
|
||||||
while current_boms_list:
|
while current_boms_list:
|
||||||
batch_no += 1
|
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
|
boms_to_process = current_boms_list[:batch_size] # slice out batch of 20k BOMs
|
||||||
|
|
||||||
# update list to exclude 20K (queued) BOMs
|
# update list to exclude 20K (queued) BOMs
|
||||||
|
|||||||
Reference in New Issue
Block a user