mirror of
https://github.com/frappe/bench.git
synced 2025-01-10 00:37:51 +00:00
[FIX] start node processes right after python and redis
This commit is contained in:
parent
b77434bb61
commit
6a233a9b5c
@ -3,8 +3,6 @@ redis_socketio: redis-server config/redis_socketio.conf
|
|||||||
redis_queue: redis-server config/redis_queue.conf
|
redis_queue: redis-server config/redis_queue.conf
|
||||||
web: bench serve {% if webserver_port -%} --port {{ webserver_port }} {%- endif %}
|
web: bench serve {% if webserver_port -%} --port {{ webserver_port }} {%- endif %}
|
||||||
|
|
||||||
socketio: {{ node }} apps/frappe/socketio.js
|
|
||||||
watch: bench watch
|
|
||||||
{% if use_rq -%}
|
{% if use_rq -%}
|
||||||
schedule: bench schedule
|
schedule: bench schedule
|
||||||
worker_short: bench worker --queue short
|
worker_short: bench worker --queue short
|
||||||
@ -16,3 +14,6 @@ worker: sh -c 'cd sites && exec ../env/bin/python -m frappe.celery_app worker -n
|
|||||||
longjob_worker: sh -c 'cd sites && exec ../env/bin/python -m frappe.celery_app worker -n longjobs@%h -Ofair --soft-time-limit 1500 --time-limit 1530'
|
longjob_worker: sh -c 'cd sites && exec ../env/bin/python -m frappe.celery_app worker -n longjobs@%h -Ofair --soft-time-limit 1500 --time-limit 1530'
|
||||||
async_worker: sh -c 'cd sites && exec ../env/bin/python -m frappe.celery_app worker -n async@%h -Ofair --soft-time-limit 1500 --time-limit 1530'
|
async_worker: sh -c 'cd sites && exec ../env/bin/python -m frappe.celery_app worker -n async@%h -Ofair --soft-time-limit 1500 --time-limit 1530'
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
|
socketio: {{ node }} apps/frappe/socketio.js
|
||||||
|
watch: bench watch
|
Loading…
Reference in New Issue
Block a user