changeset 8563:8cd0c12758e6

ini: tweak .ini web server templates to make it more clear that it is about which web server gearbox will use for serve
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 08 Jun 2020 14:10:13 +0200
parents f79dff927ab9
children 77124bf9f31a
files development.ini kallithea/lib/paster_commands/template.ini.mako
diffstat 2 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/development.ini	Mon Jun 08 13:36:21 2020 +0200
+++ b/development.ini	Mon Jun 08 14:10:13 2020 +0200
@@ -67,11 +67,11 @@
 host = 0.0.0.0
 port = 5000
 
-## WAITRESS ##
+## Gearbox serve uses the Waitress web server ##
 use = egg:waitress#main
-## number of worker threads
+## avoid multi threading
 threads = 1
-## MAX BODY SIZE 100GB
+## allow push of repos bigger than the default of 1 GB
 max_request_body_size = 107374182400
 ## use poll instead of select, fixes fd limits, may not work on old
 ## windows systems.
--- a/kallithea/lib/paster_commands/template.ini.mako	Mon Jun 08 13:36:21 2020 +0200
+++ b/kallithea/lib/paster_commands/template.ini.mako	Mon Jun 08 14:10:13 2020 +0200
@@ -69,7 +69,7 @@
 port = ${port}
 
 %if http_server == 'gearbox':
-<%text>##</%text> Gearbox default web server ##
+<%text>##</%text> Gearbox serve uses the built-in development web server ##
 use = egg:gearbox#wsgiref
 <%text>##</%text> nr of worker threads to spawn
 threadpool_workers = 1
@@ -79,22 +79,22 @@
 use_threadpool = true
 
 %elif http_server == 'gevent':
-<%text>##</%text> Gearbox gevent web server ##
+<%text>##</%text> Gearbox serve uses the gevent web server ##
 use = egg:gearbox#gevent
 
 %elif http_server == 'waitress':
-<%text>##</%text> WAITRESS ##
+<%text>##</%text> Gearbox serve uses the Waitress web server ##
 use = egg:waitress#main
-<%text>##</%text> number of worker threads
+<%text>##</%text> avoid multi threading
 threads = 1
-<%text>##</%text> MAX BODY SIZE 100GB
+<%text>##</%text> allow push of repos bigger than the default of 1 GB
 max_request_body_size = 107374182400
 <%text>##</%text> use poll instead of select, fixes fd limits, may not work on old
 <%text>##</%text> windows systems.
 #asyncore_use_poll = True
 
 %elif http_server == 'gunicorn':
-<%text>##</%text> GUNICORN ##
+<%text>##</%text> Gearbox serve uses the Gunicorn web server ##
 use = egg:gunicorn#main
 <%text>##</%text> number of process workers. You must set `instance_id = *` when this option
 <%text>##</%text> is set to more than one worker