Show More
@@ -67,11 +67,11 b' smtp_use_tls = false' | |||||
67 | host = 0.0.0.0 |
|
67 | host = 0.0.0.0 | |
68 | port = 5000 |
|
68 | port = 5000 | |
69 |
|
69 | |||
70 | ## WAITRESS ## |
|
70 | ## Gearbox serve uses the Waitress web server ## | |
71 | use = egg:waitress#main |
|
71 | use = egg:waitress#main | |
72 | ## number of worker threads |
|
72 | ## avoid multi threading | |
73 | threads = 1 |
|
73 | threads = 1 | |
74 | ## MAX BODY SIZE 100GB |
|
74 | ## allow push of repos bigger than the default of 1 GB | |
75 | max_request_body_size = 107374182400 |
|
75 | max_request_body_size = 107374182400 | |
76 | ## use poll instead of select, fixes fd limits, may not work on old |
|
76 | ## use poll instead of select, fixes fd limits, may not work on old | |
77 | ## windows systems. |
|
77 | ## windows systems. |
@@ -69,7 +69,7 b' host = ${host}' | |||||
69 | port = ${port} |
|
69 | port = ${port} | |
70 |
|
70 | |||
71 | %if http_server == 'gearbox': |
|
71 | %if http_server == 'gearbox': | |
72 |
<%text>##</%text> Gearbox |
|
72 | <%text>##</%text> Gearbox serve uses the built-in development web server ## | |
73 | use = egg:gearbox#wsgiref |
|
73 | use = egg:gearbox#wsgiref | |
74 | <%text>##</%text> nr of worker threads to spawn |
|
74 | <%text>##</%text> nr of worker threads to spawn | |
75 | threadpool_workers = 1 |
|
75 | threadpool_workers = 1 | |
@@ -79,22 +79,22 b' threadpool_max_requests = 100' | |||||
79 | use_threadpool = true |
|
79 | use_threadpool = true | |
80 |
|
80 | |||
81 | %elif http_server == 'gevent': |
|
81 | %elif http_server == 'gevent': | |
82 | <%text>##</%text> Gearbox gevent web server ## |
|
82 | <%text>##</%text> Gearbox serve uses the gevent web server ## | |
83 | use = egg:gearbox#gevent |
|
83 | use = egg:gearbox#gevent | |
84 |
|
84 | |||
85 | %elif http_server == 'waitress': |
|
85 | %elif http_server == 'waitress': | |
86 | <%text>##</%text> WAITRESS ## |
|
86 | <%text>##</%text> Gearbox serve uses the Waitress web server ## | |
87 | use = egg:waitress#main |
|
87 | use = egg:waitress#main | |
88 |
<%text>##</%text> |
|
88 | <%text>##</%text> avoid multi threading | |
89 | threads = 1 |
|
89 | threads = 1 | |
90 | <%text>##</%text> MAX BODY SIZE 100GB |
|
90 | <%text>##</%text> allow push of repos bigger than the default of 1 GB | |
91 | max_request_body_size = 107374182400 |
|
91 | max_request_body_size = 107374182400 | |
92 | <%text>##</%text> use poll instead of select, fixes fd limits, may not work on old |
|
92 | <%text>##</%text> use poll instead of select, fixes fd limits, may not work on old | |
93 | <%text>##</%text> windows systems. |
|
93 | <%text>##</%text> windows systems. | |
94 | #asyncore_use_poll = True |
|
94 | #asyncore_use_poll = True | |
95 |
|
95 | |||
96 | %elif http_server == 'gunicorn': |
|
96 | %elif http_server == 'gunicorn': | |
97 | <%text>##</%text> GUNICORN ## |
|
97 | <%text>##</%text> Gearbox serve uses the Gunicorn web server ## | |
98 | use = egg:gunicorn#main |
|
98 | use = egg:gunicorn#main | |
99 | <%text>##</%text> number of process workers. You must set `instance_id = *` when this option |
|
99 | <%text>##</%text> number of process workers. You must set `instance_id = *` when this option | |
100 | <%text>##</%text> is set to more than one worker |
|
100 | <%text>##</%text> is set to more than one worker |
General Comments 0
You need to be logged in to leave comments.
Login now