comparison development.ini @ 6886:535c397ee90d

ini: drop disabled conditional sections in shipped ini files - if people need them, they can use make-config again
author Mads Kiilerich <mads@kiilerich.com>
date Thu, 14 Sep 2017 02:08:06 +0200
parents f2f7a8c1281e
children d7222b590156
comparison
equal deleted inserted replaced
6885:d22eb3c1797b 6886:535c397ee90d
64 smtp_port = 64 smtp_port =
65 #smtp_use_ssl = false 65 #smtp_use_ssl = false
66 #smtp_use_tls = false 66 #smtp_use_tls = false
67 67
68 [server:main] 68 [server:main]
69 ## Gearbox default web server ##
70 #use = egg:gearbox#wsgiref
71 ## nr of worker threads to spawn
72 #threadpool_workers = 1
73 ## max request before thread respawn
74 #threadpool_max_requests = 100
75 ## option to use threads of process
76 #use_threadpool = true
77
78 ## Gearbox gevent web server ##
79 #use = egg:gearbox#gevent
80
81 ## WAITRESS ## 69 ## WAITRESS ##
82 use = egg:waitress#main 70 use = egg:waitress#main
83 ## number of worker threads 71 ## number of worker threads
84 threads = 1 72 threads = 1
85 ## MAX BODY SIZE 100GB 73 ## MAX BODY SIZE 100GB
86 max_request_body_size = 107374182400 74 max_request_body_size = 107374182400
87 ## use poll instead of select, fixes fd limits, may not work on old 75 ## use poll instead of select, fixes fd limits, may not work on old
88 ## windows systems. 76 ## windows systems.
89 #asyncore_use_poll = True 77 #asyncore_use_poll = True
90
91 ## GUNICORN ##
92 #use = egg:gunicorn#main
93 ## number of process workers. You must set `instance_id = *` when this option
94 ## is set to more than one worker
95 #workers = 1
96 ## process name
97 #proc_name = kallithea
98 ## type of worker class, one of sync, eventlet, gevent, tornado
99 ## recommended for bigger setup is using of of other than sync one
100 #worker_class = sync
101 #max_requests = 1000
102 ## amount of time a worker can handle request before it gets killed and
103 ## restarted
104 #timeout = 3600
105
106 ## UWSGI ##
107 ## run with uwsgi --ini-paste-logged <inifile.ini>
108 #[uwsgi]
109 #socket = /tmp/uwsgi.sock
110 #master = true
111 #http = 127.0.0.1:5000
112
113 ## set as deamon and redirect all output to file
114 #daemonize = ./uwsgi_kallithea.log
115
116 ## master process PID
117 #pidfile = ./uwsgi_kallithea.pid
118
119 ## stats server with workers statistics, use uwsgitop
120 ## for monitoring, `uwsgitop 127.0.0.1:1717`
121 #stats = 127.0.0.1:1717
122 #memory-report = true
123
124 ## log 5XX errors
125 #log-5xx = true
126
127 ## Set the socket listen queue size.
128 #listen = 256
129
130 ## Gracefully Reload workers after the specified amount of managed requests
131 ## (avoid memory leaks).
132 #max-requests = 1000
133
134 ## enable large buffers
135 #buffer-size = 65535
136
137 ## socket and http timeouts ##
138 #http-timeout = 3600
139 #socket-timeout = 3600
140
141 ## Log requests slower than the specified number of milliseconds.
142 #log-slow = 10
143
144 ## Exit if no app can be loaded.
145 #need-app = true
146
147 ## Set lazy mode (load apps in workers instead of master).
148 #lazy = true
149
150 ## scaling ##
151 ## set cheaper algorithm to use, if not set default will be used
152 #cheaper-algo = spare
153
154 ## minimum number of workers to keep at all times
155 #cheaper = 1
156
157 ## number of workers to spawn at startup
158 #cheaper-initial = 1
159
160 ## maximum number of workers that can be spawned
161 #workers = 4
162
163 ## how many workers should be spawned at a time
164 #cheaper-step = 1
165 78
166 ## COMMON ## 79 ## COMMON ##
167 #host = 127.0.0.1 80 #host = 127.0.0.1
168 host = 0.0.0.0 81 host = 0.0.0.0
169 port = 5000 82 port = 5000
497 ######################################################### 410 #########################################################
498 411
499 # SQLITE [default] 412 # SQLITE [default]
500 sqlalchemy.url = sqlite:///%(here)s/kallithea.db?timeout=60 413 sqlalchemy.url = sqlite:///%(here)s/kallithea.db?timeout=60
501 414
502 # POSTGRESQL
503 #sqlalchemy.url = postgresql://user:pass@localhost/kallithea
504
505 # MySQL
506 #sqlalchemy.url = mysql://user:pass@localhost/kallithea?charset=utf8
507
508 # see sqlalchemy docs for others 415 # see sqlalchemy docs for others
509 416
510 sqlalchemy.pool_recycle = 3600 417 sqlalchemy.pool_recycle = 3600
511 418
512 ################################ 419 ################################