[fix] site sync queues - IncorrectSitePath
This commit is contained in:
parent
a070e2107b
commit
1e347dc8e9
1 changed files with 4 additions and 0 deletions
|
|
@ -92,6 +92,10 @@ def is_site_in_maintenance_mode(queue, prefix):
|
|||
if not frappe.local.conf.db_name or frappe.local.conf.maintenance_mode or frappe.conf.disable_scheduler:
|
||||
# don't add site if in maintenance mode
|
||||
return True
|
||||
|
||||
except frappe.IncorrectSitePath:
|
||||
return True
|
||||
|
||||
finally:
|
||||
frappe.destroy()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue