##// END OF EJS Templates
makefile: added workers=n to gunicorn startup command
super-admin -
r1232:9d0625b8 default
parent child Browse files
Show More
@@ -91,11 +91,13 b' sh:'
91 91 dev-srv:
92 92 pserve --reload .dev/dev.ini
93 93
94 ## Allows changes of workers e.g make dev-srv-g workers=2
95 workers?=1
94 96
95 97 .PHONY: dev-srv-g
96 98 ## run gunicorn multi process workers
97 99 dev-srv-g:
98 gunicorn --workers=4 --paste .dev/dev.ini --bind=0.0.0.0:10010 --config=.dev/gunicorn_config.py
100 gunicorn --paste=.dev/dev.ini --bind=0.0.0.0:10010 --config=.dev/gunicorn_config.py --reload --workers=$(workers)
99 101
100 102
101 103 # Default command on calling make
General Comments 0
You need to be logged in to leave comments. Login now