I developing a frappe synchronize apps between erpnext and financial system. However, due to the large record need to be synced, the sync often crash at 300 second with error: JobTimeoutException: Job exceeded maximum timeout value (300 seconds).
When I execute from bench it’s ok, the system don’t drop the sync def. However, when use Scheduler, even I edit the supervisor.cfg, the problem still the same.
Can you let me know is there anyway to execute the function without timeout or longer timeout?
Priority for process. Such as process gunicorn (front-end) is always higher than python or worker. , such gunicorn runing around 90% cpu, python only go down around 1-2%.
MySQL: can we take seperate for the connection to MariaDB between worker and front-end? Currently, it will result in some error like this in peak time: