mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
switch to smoother chain reloading
This commit is contained in:
parent
5ff62c97b6
commit
431dcc6490
2
Makefile
2
Makefile
@ -406,7 +406,7 @@ uwsgi: collectstatic
|
||||
@if [ "$(VENV_BASE)" ]; then \
|
||||
. $(VENV_BASE)/tower/bin/activate; \
|
||||
fi; \
|
||||
uwsgi -b 32768 --socket :8050 --module=awx.wsgi:application --home=/venv/tower --chdir=/tower_devel/ --vacuum --processes=5 --harakiri=60 --master --no-orphans --py-autoreload 1 --max-requests=1000 --stats /tmp/stats.socket --master-fifo=/tmp/awxfifo
|
||||
uwsgi -b 32768 --socket :8050 --module=awx.wsgi:application --home=/venv/tower --chdir=/tower_devel/ --vacuum --processes=5 --harakiri=60 --master --no-orphans --py-autoreload 1 --max-requests=1000 --stats /tmp/stats.socket --master-fifo=/tmp/awxfifo --lazy-apps
|
||||
|
||||
daphne:
|
||||
@if [ "$(VENV_BASE)" ]; then \
|
||||
|
||||
@ -86,7 +86,8 @@ def celery_startup(conf=None, **kwargs):
|
||||
|
||||
|
||||
def uwsgi_reload():
|
||||
os.system("echo r > /tmp/awxfifo")
|
||||
"Does chain reload of uWSGI"
|
||||
os.system("echo c > /tmp/awxfifo")
|
||||
|
||||
|
||||
@task(queue='broadcast_all')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user