##// END OF EJS Templates
ini: consistently write #-disabled lines without space after # and with single space around =
Mads Kiilerich -
r5364:a478cad9 default
parent child Browse files
Show More
@@ -38,8 +38,8 b' threadpool_workers = 5'
38 threadpool_max_requests = 10
38 threadpool_max_requests = 10
39 <%text>## option to use threads of process</%text>
39 <%text>## option to use threads of process</%text>
40 use_threadpool = true
40 use_threadpool = true
41 %endif
41
42 %if http_server == 'waitress':
42 %elif http_server == 'waitress':
43 <%text>## WAITRESS ##</%text>
43 <%text>## WAITRESS ##</%text>
44 use = egg:waitress#main
44 use = egg:waitress#main
45 <%text>## number of worker threads</%text>
45 <%text>## number of worker threads</%text>
@@ -49,8 +49,8 b' max_request_body_size = 107374182400'
49 <%text>## use poll instead of select, fixes fd limits, may not work on old</%text>
49 <%text>## use poll instead of select, fixes fd limits, may not work on old</%text>
50 <%text>## windows systems.</%text>
50 <%text>## windows systems.</%text>
51 #asyncore_use_poll = True
51 #asyncore_use_poll = True
52 %endif
52
53 %if http_server == 'gunicorn':
53 %elif http_server == 'gunicorn':
54 <%text>## GUNICORN ##</%text>
54 <%text>## GUNICORN ##</%text>
55 use = egg:gunicorn#main
55 use = egg:gunicorn#main
56 <%text>## number of process workers. You must set `instance_id = *` when this option</%text>
56 <%text>## number of process workers. You must set `instance_id = *` when this option</%text>
@@ -65,8 +65,8 b' max_requests = 1000'
65 <%text>## ammount of time a worker can handle request before it gets killed and</%text>
65 <%text>## ammount of time a worker can handle request before it gets killed and</%text>
66 <%text>## restarted</%text>
66 <%text>## restarted</%text>
67 timeout = 3600
67 timeout = 3600
68 %endif
68
69 %if http_server == 'uwsgi':
69 %elif http_server == 'uwsgi':
70 <%text>## UWSGI ##</%text>
70 <%text>## UWSGI ##</%text>
71 <%text>## run with uwsgi --ini-paste-logged <inifile.ini></%text>
71 <%text>## run with uwsgi --ini-paste-logged <inifile.ini></%text>
72 [uwsgi]
72 [uwsgi]
@@ -126,6 +126,7 b' workers = 4'
126
126
127 <%text>## how many workers should be spawned at a time</%text>
127 <%text>## how many workers should be spawned at a time</%text>
128 cheaper-step = 1
128 cheaper-step = 1
129
129 %endif
130 %endif
130 <%text>## COMMON ##</%text>
131 <%text>## COMMON ##</%text>
131 host = ${host}
132 host = ${host}
@@ -370,7 +371,6 b' beaker.session.auto = False'
370 #beaker.session.cookie_expires = 3600
371 #beaker.session.cookie_expires = 3600
371
372
372 %if error_aggregation_service == 'errormator':
373 %if error_aggregation_service == 'errormator':
373
374 <%text>############################</%text>
374 <%text>############################</%text>
375 <%text>## ERROR HANDLING SYSTEMS ##</%text>
375 <%text>## ERROR HANDLING SYSTEMS ##</%text>
376 <%text>############################</%text>
376 <%text>############################</%text>
@@ -429,8 +429,8 b' errormator.request_keys_blacklist ='
429 <%text>## can be string with comma separated list of namespaces</%text>
429 <%text>## can be string with comma separated list of namespaces</%text>
430 <%text>## (by default the client ignores own entries: errormator_client.client)</%text>
430 <%text>## (by default the client ignores own entries: errormator_client.client)</%text>
431 errormator.log_namespace_blacklist =
431 errormator.log_namespace_blacklist =
432
432 %elif error_aggregation_service == 'sentry':
433 %elif error_aggregation_service == 'sentry':
433
434 <%text>################</%text>
434 <%text>################</%text>
435 <%text>### [sentry] ###</%text>
435 <%text>### [sentry] ###</%text>
436 <%text>################</%text>
436 <%text>################</%text>
@@ -448,8 +448,8 b' sentry.project ='
448 sentry.site =
448 sentry.site =
449 sentry.include_paths =
449 sentry.include_paths =
450 sentry.exclude_paths =
450 sentry.exclude_paths =
451
451 %endif
452 %endif
452
453 <%text>################################################################################</%text>
453 <%text>################################################################################</%text>
454 <%text>## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##</%text>
454 <%text>## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##</%text>
455 <%text>## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##</%text>
455 <%text>## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##</%text>
@@ -472,12 +472,15 b' logview.pylons.util = #eee'
472 %if database_engine == 'sqlite':
472 %if database_engine == 'sqlite':
473 # SQLITE [default]
473 # SQLITE [default]
474 sqlalchemy.db1.url = sqlite:///${here}/kallithea.db?timeout=60
474 sqlalchemy.db1.url = sqlite:///${here}/kallithea.db?timeout=60
475
475 %elif database_engine == 'postgres':
476 %elif database_engine == 'postgres':
476 # POSTGRESQL
477 # POSTGRESQL
477 sqlalchemy.db1.url = postgresql://user:pass@localhost/kallithea
478 sqlalchemy.db1.url = postgresql://user:pass@localhost/kallithea
479
478 %elif database_engine == 'mysql':
480 %elif database_engine == 'mysql':
479 # MySQL
481 # MySQL
480 sqlalchemy.db1.url = mysql://user:pass@localhost/kallithea
482 sqlalchemy.db1.url = mysql://user:pass@localhost/kallithea
483
481 %endif
484 %endif
482 # see sqlalchemy docs for others
485 # see sqlalchemy docs for others
483
486
General Comments 0
You need to be logged in to leave comments. Login now