##// END OF EJS Templates
makefile: allow starting gunicorn with workers=N command
super-admin -
r5404:c583e3ba default
parent child Browse files
Show More
@@ -144,11 +144,13 b' sh:'
144 dev-srv:
144 dev-srv:
145 pserve --reload .dev/dev.ini
145 pserve --reload .dev/dev.ini
146
146
147 ## Allows changes of workers e.g make dev-srv-g workers=2
148 workers?=1
147
149
148 .PHONY: dev-srv-g
150 .PHONY: dev-srv-g
149 ## run gunicorn multi process workers
151 ## run gunicorn multi process workers
150 dev-srv-g:
152 dev-srv-g:
151 gunicorn --paste .dev/dev.ini --bind=0.0.0.0:10020 --config=.dev/gunicorn_config.py --timeout=120 --reload
153 gunicorn --paste=.dev/dev.ini --bind=0.0.0.0:10020 --config=.dev/gunicorn_config.py --timeout=120 --reload --workers=$(workers)
152
154
153
155
154 # Default command on calling make
156 # Default command on calling make
General Comments 0
You need to be logged in to leave comments. Login now