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