From 73bd3cb278d056a0c0364d78bd59193d3435989e Mon Sep 17 00:00:00 2001 From: KanchanChauhan Date: Wed, 5 Sep 2018 11:01:35 +0530 Subject: [PATCH] Moved daily event (update_latest_price_in_all_boms) to daily_long since it was timing out (#15253) --- erpnext/hooks.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/erpnext/hooks.py b/erpnext/hooks.py index 7d553dca04..300808aa95 100644 --- a/erpnext/hooks.py +++ b/erpnext/hooks.py @@ -240,12 +240,14 @@ scheduler_events = { "erpnext.stock.doctype.serial_no.serial_no.update_maintenance_status", "erpnext.buying.doctype.supplier_scorecard.supplier_scorecard.refresh_scorecards", "erpnext.setup.doctype.company.company.cache_companies_monthly_sales_history", - "erpnext.manufacturing.doctype.bom_update_tool.bom_update_tool.update_latest_price_in_all_boms", "erpnext.assets.doctype.asset.asset.update_maintenance_status", "erpnext.assets.doctype.asset.asset.make_post_gl_entry", "erpnext.crm.doctype.contract.contract.update_status_for_contracts", "erpnext.projects.doctype.project.project.update_project_sales_billing" - ], + ], + "daily_long": [ + "erpnext.manufacturing.doctype.bom_update_tool.bom_update_tool.update_latest_price_in_all_boms" + ], "monthly": [ "erpnext.accounts.doctype.sales_invoice.sales_invoice.booked_deferred_revenue", "erpnext.hr.utils.allocate_earned_leaves"