Show More
@@ -29,24 +29,37 b' pdebug = false' | |||
|
29 | 29 | #smtp_auth = |
|
30 | 30 | |
|
31 | 31 | [server:main] |
|
32 | ## PASTE | |
|
33 | ## nr of threads to spawn | |
|
32 | ## PASTE ## | |
|
33 | #use = egg:Paste#http | |
|
34 | ## nr of worker threads to spawn | |
|
34 | 35 | #threadpool_workers = 5 |
|
35 | ||
|
36 | 36 | ## max request before thread respawn |
|
37 | 37 | #threadpool_max_requests = 10 |
|
38 | ||
|
39 | 38 | ## option to use threads of process |
|
40 | 39 | #use_threadpool = true |
|
41 | 40 | |
|
42 | #use = egg:Paste#http | |
|
43 | ||
|
44 | ## WAITRESS | |
|
41 | ## WAITRESS ## | |
|
42 | use = egg:waitress#main | |
|
43 | ## number of worker threads | |
|
45 | 44 | threads = 5 |
|
46 | ## 100GB | |
|
45 | ## MAX BODY SIZE 100GB | |
|
47 | 46 | max_request_body_size = 107374182400 |
|
48 | use = egg:waitress#main | |
|
47 | ## use poll instead of select, fixes fd limits, may not work on old | |
|
48 | ## windows systems. | |
|
49 | asyncore_use_poll = True | |
|
49 | 50 | |
|
51 | ## GUNICORN ## | |
|
52 | #use = egg:gunicorn#main | |
|
53 | ## number of process workers. Don't change that to more than 1 | |
|
54 | #workers = 1 | |
|
55 | ## process name | |
|
56 | #proc_name = rhodecode | |
|
57 | ## type of worker class, one of sync, eventlet, gevent, tornado | |
|
58 | ## recommended for bigger setup is using of of other than sync one | |
|
59 | #worker-class = sync | |
|
60 | #max-requests = 5 | |
|
61 | ||
|
62 | ## COMMON ## | |
|
50 | 63 | host = 0.0.0.0 |
|
51 | 64 | port = 5000 |
|
52 | 65 |
@@ -29,26 +29,39 b' pdebug = false' | |||
|
29 | 29 | #smtp_auth = |
|
30 | 30 | |
|
31 | 31 | [server:main] |
|
32 | ## PASTE | |
|
33 | ## nr of threads to spawn | |
|
32 | ## PASTE ## | |
|
33 | #use = egg:Paste#http | |
|
34 | ## nr of worker threads to spawn | |
|
34 | 35 | #threadpool_workers = 5 |
|
35 | ||
|
36 | 36 | ## max request before thread respawn |
|
37 | 37 | #threadpool_max_requests = 10 |
|
38 | ||
|
39 | 38 | ## option to use threads of process |
|
40 | 39 | #use_threadpool = true |
|
41 | 40 | |
|
42 | #use = egg:Paste#http | |
|
43 | ||
|
44 | ## WAITRESS | |
|
41 | ## WAITRESS ## | |
|
42 | use = egg:waitress#main | |
|
43 | ## number of worker threads | |
|
45 | 44 | threads = 5 |
|
46 | ## 100GB | |
|
45 | ## MAX BODY SIZE 100GB | |
|
47 | 46 | max_request_body_size = 107374182400 |
|
48 | use = egg:waitress#main | |
|
47 | ## use poll instead of select, fixes fd limits, may not work on old | |
|
48 | ## windows systems. | |
|
49 | asyncore_use_poll = True | |
|
49 | 50 | |
|
51 | ## GUNICORN ## | |
|
52 | #use = egg:gunicorn#main | |
|
53 | ## number of process workers. Don't change that to more than 1 | |
|
54 | #workers = 1 | |
|
55 | ## process name | |
|
56 | #proc_name = rhodecode | |
|
57 | ## type of worker class, one of sync, eventlet, gevent, tornado | |
|
58 | ## recommended for bigger setup is using of of other than sync one | |
|
59 | #worker-class = sync | |
|
60 | #max-requests = 5 | |
|
61 | ||
|
62 | ## COMMON ## | |
|
50 | 63 | host = 127.0.0.1 |
|
51 |
port = |
|
|
64 | port = 5000 | |
|
52 | 65 | |
|
53 | 66 | ## prefix middleware for rc |
|
54 | 67 | #[filter:proxy-prefix] |
@@ -29,24 +29,37 b' pdebug = false' | |||
|
29 | 29 | #smtp_auth = |
|
30 | 30 | |
|
31 | 31 | [server:main] |
|
32 | ## PASTE | |
|
33 | ## nr of threads to spawn | |
|
32 | ## PASTE ## | |
|
33 | #use = egg:Paste#http | |
|
34 | ## nr of worker threads to spawn | |
|
34 | 35 | #threadpool_workers = 5 |
|
35 | ||
|
36 | 36 | ## max request before thread respawn |
|
37 | 37 | #threadpool_max_requests = 10 |
|
38 | ||
|
39 | 38 | ## option to use threads of process |
|
40 | 39 | #use_threadpool = true |
|
41 | 40 | |
|
42 | #use = egg:Paste#http | |
|
43 | ||
|
44 | ## WAITRESS | |
|
41 | ## WAITRESS ## | |
|
42 | use = egg:waitress#main | |
|
43 | ## number of worker threads | |
|
45 | 44 | threads = 5 |
|
46 | ## 100GB | |
|
45 | ## MAX BODY SIZE 100GB | |
|
47 | 46 | max_request_body_size = 107374182400 |
|
48 | use = egg:waitress#main | |
|
47 | ## use poll instead of select, fixes fd limits, may not work on old | |
|
48 | ## windows systems. | |
|
49 | asyncore_use_poll = True | |
|
49 | 50 | |
|
51 | ## GUNICORN ## | |
|
52 | #use = egg:gunicorn#main | |
|
53 | ## number of process workers. Don't change that to more than 1 | |
|
54 | #workers = 1 | |
|
55 | ## process name | |
|
56 | #proc_name = rhodecode | |
|
57 | ## type of worker class, one of sync, eventlet, gevent, tornado | |
|
58 | ## recommended for bigger setup is using of of other than sync one | |
|
59 | #worker-class = sync | |
|
60 | #max-requests = 5 | |
|
61 | ||
|
62 | ## COMMON ## | |
|
50 | 63 | host = 127.0.0.1 |
|
51 | 64 | port = 5000 |
|
52 | 65 |
General Comments 0
You need to be logged in to leave comments.
Login now