mirror of
https://github.com/frappe/bench.git
synced 2025-01-09 08:30:39 +00:00
[fix] added longjob worker in supervisor.conf
This commit is contained in:
parent
60998dc4b7
commit
3604ccf125
@ -8,12 +8,23 @@ user={{ user }}
|
|||||||
directory={{ sites_dir }}
|
directory={{ sites_dir }}
|
||||||
|
|
||||||
[program:frappe-worker]
|
[program:frappe-worker]
|
||||||
command={{ bench_dir }}/env/bin/python -m frappe.celery_app worker
|
command={{ bench_dir }}/env/bin/python -m frappe.celery_app worker -n frappe-jobs@%%h --time-limit 360 --loglevel INFO -Ofair
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
stdout_logfile={{ bench_dir }}/logs/worker.log
|
stdout_logfile={{ bench_dir }}/logs/worker.log
|
||||||
stderr_logfile={{ bench_dir }}/logs/worker.error.log
|
stderr_logfile={{ bench_dir }}/logs/worker.error.log
|
||||||
user={{ user }}
|
user={{ user }}
|
||||||
|
stopwaitsecs=370
|
||||||
|
directory={{ sites_dir }}
|
||||||
|
|
||||||
|
[program:frappe-longjob-worker]
|
||||||
|
command={{ bench_dir }}/env/bin/python -m frappe.celery_app worker -n frappe-longjobs@%%h --time-limit 1500 --loglevel INFO
|
||||||
|
autostart=true
|
||||||
|
autorestart=true
|
||||||
|
stdout_logfile={{ bench_dir }}/logs/worker.log
|
||||||
|
stderr_logfile={{ bench_dir }}/logs/worker.error.log
|
||||||
|
user={{ user }}
|
||||||
|
stopwaitsecs=1510
|
||||||
directory={{ sites_dir }}
|
directory={{ sites_dir }}
|
||||||
|
|
||||||
[program:frappe-workerbeat]
|
[program:frappe-workerbeat]
|
||||||
|
Loading…
Reference in New Issue
Block a user