Show More
@@ -86,15 +86,10 b' sh:' | |||
|
86 | 86 | make dev-sh |
|
87 | 87 | |
|
88 | 88 | |
|
89 | .PHONY: dev-srv | |
|
90 | ## run develop server instance, docker exec -it $(docker ps -q --filter 'name=dev-enterprise-ce') /bin/bash | |
|
91 | dev-srv: | |
|
92 | pserve --reload .dev/dev.ini | |
|
93 | ||
|
94 | 89 | ## Allows changes of workers e.g make dev-srv-g workers=2 |
|
95 | 90 | workers?=1 |
|
96 | 91 | |
|
97 |
.PHONY: dev-srv |
|
|
92 | .PHONY: dev-srv | |
|
98 | 93 | ## run gunicorn multi process workers |
|
99 | 94 | dev-srv-g: |
|
100 | 95 | gunicorn --paste=.dev/dev.ini --bind=0.0.0.0:10010 --config=.dev/gunicorn_config.py --reload --workers=$(workers) |
@@ -9,23 +9,6 b'' | |||
|
9 | 9 | host = 0.0.0.0 |
|
10 | 10 | port = 10010 |
|
11 | 11 | |
|
12 | ; ################################################## | |
|
13 | ; WAITRESS WSGI SERVER - Recommended for Development | |
|
14 | ; ################################################## | |
|
15 | ||
|
16 | ; use server type | |
|
17 | use = egg:waitress#main | |
|
18 | ||
|
19 | ; number of worker threads | |
|
20 | threads = 5 | |
|
21 | ||
|
22 | ; MAX BODY SIZE 100GB | |
|
23 | max_request_body_size = 107374182400 | |
|
24 | ||
|
25 | ; Use poll instead of select, fixes file descriptors limits problems. | |
|
26 | ; May not work on old windows systems. | |
|
27 | asyncore_use_poll = true | |
|
28 | ||
|
29 | 12 | |
|
30 | 13 | ; ########################### |
|
31 | 14 | ; GUNICORN APPLICATION SERVER |
@@ -34,7 +17,7 b' asyncore_use_poll = true' | |||
|
34 | 17 | ; run with gunicorn --paste rhodecode.ini |
|
35 | 18 | |
|
36 | 19 | ; Module to use, this setting shouldn't be changed |
|
37 |
|
|
|
20 | use = egg:gunicorn#main | |
|
38 | 21 | |
|
39 | 22 | [app:main] |
|
40 | 23 | ; The %(here)s variable will be replaced with the absolute path of parent directory |
General Comments 0
You need to be logged in to leave comments.
Login now