Moved daily event (update_latest_price_in_all_boms) to daily_long since it was timing out (#15253)

This commit is contained in:
KanchanChauhan 2018-09-05 11:01:35 +05:30 committed by Nabin Hait
parent b07f482c0c
commit 73bd3cb278

View File

@ -240,12 +240,14 @@ scheduler_events = {
"erpnext.stock.doctype.serial_no.serial_no.update_maintenance_status", "erpnext.stock.doctype.serial_no.serial_no.update_maintenance_status",
"erpnext.buying.doctype.supplier_scorecard.supplier_scorecard.refresh_scorecards", "erpnext.buying.doctype.supplier_scorecard.supplier_scorecard.refresh_scorecards",
"erpnext.setup.doctype.company.company.cache_companies_monthly_sales_history", "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.update_maintenance_status",
"erpnext.assets.doctype.asset.asset.make_post_gl_entry", "erpnext.assets.doctype.asset.asset.make_post_gl_entry",
"erpnext.crm.doctype.contract.contract.update_status_for_contracts", "erpnext.crm.doctype.contract.contract.update_status_for_contracts",
"erpnext.projects.doctype.project.project.update_project_sales_billing" "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": [ "monthly": [
"erpnext.accounts.doctype.sales_invoice.sales_invoice.booked_deferred_revenue", "erpnext.accounts.doctype.sales_invoice.sales_invoice.booked_deferred_revenue",
"erpnext.hr.utils.allocate_earned_leaves" "erpnext.hr.utils.allocate_earned_leaves"