##// END OF EJS Templates
fix(configs): removed waitress as a default runner for web service on development....
super-admin -
r5413:b4277c11 default
parent child Browse files
Show More
@@ -139,15 +139,10 b' sh:'
139 make dev-sh
139 make dev-sh
140
140
141
141
142 .PHONY: dev-srv
143 ## run develop server instance, docker exec -it $(docker ps -q --filter 'name=dev-enterprise-ce') /bin/bash
144 dev-srv:
145 pserve --reload .dev/dev.ini
146
147 ## Allows changes of workers e.g make dev-srv-g workers=2
142 ## Allows changes of workers e.g make dev-srv-g workers=2
148 workers?=1
143 workers?=1
149
144
150 .PHONY: dev-srv-g
145 .PHONY: dev-srv
151 ## run gunicorn multi process workers
146 ## run gunicorn multi process workers
152 dev-srv-g:
147 dev-srv-g:
153 gunicorn --paste=.dev/dev.ini --bind=0.0.0.0:10020 --config=.dev/gunicorn_config.py --timeout=120 --reload --workers=$(workers)
148 gunicorn --paste=.dev/dev.ini --bind=0.0.0.0:10020 --config=.dev/gunicorn_config.py --timeout=120 --reload --workers=$(workers)
@@ -31,23 +31,6 b' debug = true'
31 host = 127.0.0.1
31 host = 127.0.0.1
32 port = 10020
32 port = 10020
33
33
34 ; ##################################################
35 ; WAITRESS WSGI SERVER - Recommended for Development
36 ; ##################################################
37
38 ; use server type
39 use = egg:waitress#main
40
41 ; number of worker threads
42 threads = 5
43
44 ; MAX BODY SIZE 100GB
45 max_request_body_size = 107374182400
46
47 ; Use poll instead of select, fixes file descriptors limits problems.
48 ; May not work on old windows systems.
49 asyncore_use_poll = true
50
51
34
52 ; ###########################
35 ; ###########################
53 ; GUNICORN APPLICATION SERVER
36 ; GUNICORN APPLICATION SERVER
@@ -56,7 +39,7 b' asyncore_use_poll = true'
56 ; run with gunicorn --paste rhodecode.ini --config gunicorn_conf.py
39 ; run with gunicorn --paste rhodecode.ini --config gunicorn_conf.py
57
40
58 ; Module to use, this setting shouldn't be changed
41 ; Module to use, this setting shouldn't be changed
59 #use = egg:gunicorn#main
42 use = egg:gunicorn#main
60
43
61 ; Prefix middleware for RhodeCode.
44 ; Prefix middleware for RhodeCode.
62 ; recommended when using proxy setup.
45 ; recommended when using proxy setup.
General Comments 0
You need to be logged in to leave comments. Login now