##// END OF EJS Templates
synced test.ini with latest changes
marcink -
r3479:b45c8916 beta
parent child Browse files
Show More
@@ -31,22 +31,24 b' pdebug = false'
31 [server:main]
31 [server:main]
32 ## PASTE
32 ## PASTE
33 ##nr of threads to spawn
33 ##nr of threads to spawn
34 threadpool_workers = 5
34 #threadpool_workers = 5
35
35
36 ##max request before thread respawn
36 ##max request before thread respawn
37 threadpool_max_requests = 10
37 #threadpool_max_requests = 10
38
38
39 ##option to use threads of process
39 ##option to use threads of process
40 use_threadpool = true
40 #use_threadpool = true
41
41
42 use = egg:Paste#http
42 #use = egg:Paste#http
43
43
44 #WAITRESS
44 #WAITRESS
45 threads = 5
45 threads = 5
46 #100GB
47 max_request_body_size = 107374182400
46 use = egg:waitress#main
48 use = egg:waitress#main
47
49
48 host = 127.0.0.1
50 host = 127.0.0.1
49 port = 8001
51 port = 5000
50
52
51 [filter:proxy-prefix]
53 [filter:proxy-prefix]
52 # prefix middleware for rc
54 # prefix middleware for rc
@@ -250,6 +252,87 b' beaker.session.auto = False'
250 #beaker.session.cookie_expires = 3600
252 #beaker.session.cookie_expires = 3600
251
253
252
254
255 ############################
256 ## ERROR HANDLING SYSTEMS ##
257 ############################
258
259 ####################
260 ### [errormator] ###
261 ####################
262
263 # Errormator is tailored to work with RhodeCode, see
264 # http://errormator.com for details how to obtain an account
265 # you must install python package `errormator_client` to make it work
266
267 # errormator enabled
268 errormator = true
269
270 errormator.server_url = https://api.errormator.com
271 errormator.api_key = YOUR_API_KEY
272
273 # TWEAK AMOUNT OF INFO SENT HERE
274
275 # enables 404 error logging (default False)
276 errormator.report_404 = false
277
278 # time in seconds after request is considered being slow (default 1)
279 errormator.slow_request_time = 1
280
281 # record slow requests in application
282 # (needs to be enabled for slow datastore recording and time tracking)
283 errormator.slow_requests = true
284
285 # enable hooking to application loggers
286 # errormator.logging = true
287
288 # minimum log level for log capture
289 # errormator.logging.level = WARNING
290
291 # send logs only from erroneous/slow requests
292 # (saves API quota for intensive logging)
293 errormator.logging_on_error = false
294
295 # list of additonal keywords that should be grabbed from environ object
296 # can be string with comma separated list of words in lowercase
297 # (by default client will always send following info:
298 # 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that
299 # start with HTTP* this list be extended with additional keywords here
300 errormator.environ_keys_whitelist =
301
302
303 # list of keywords that should be blanked from request object
304 # can be string with comma separated list of words in lowercase
305 # (by default client will always blank keys that contain following words
306 # 'password', 'passwd', 'pwd', 'auth_tkt', 'secret', 'csrf'
307 # this list be extended with additional keywords set here
308 errormator.request_keys_blacklist =
309
310
311 # list of namespaces that should be ignores when gathering log entries
312 # can be string with comma separated list of namespaces
313 # (by default the client ignores own entries: errormator_client.client)
314 errormator.log_namespace_blacklist =
315
316
317 ################
318 ### [sentry] ###
319 ################
320
321 # sentry is a alternative open source error aggregator
322 # you must install python packages `sentry` and `raven` to enable
323
324 sentry.dsn = YOUR_DNS
325 sentry.servers =
326 sentry.name =
327 sentry.key =
328 sentry.public_key =
329 sentry.secret_key =
330 sentry.project =
331 sentry.site =
332 sentry.include_paths =
333 sentry.exclude_paths =
334
335
253 ################################################################################
336 ################################################################################
254 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
337 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
255 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
338 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
@@ -270,7 +353,6 b' logview.pylons.util = #eee'
270 sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode_test.sqlite
353 sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode_test.sqlite
271 #sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode_test
354 #sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode_test
272 #sqlalchemy.db1.url = mysql://root:qwe@localhost/rhodecode_test
355 #sqlalchemy.db1.url = mysql://root:qwe@localhost/rhodecode_test
273
274 sqlalchemy.db1.echo = false
356 sqlalchemy.db1.echo = false
275 sqlalchemy.db1.pool_recycle = 3600
357 sqlalchemy.db1.pool_recycle = 3600
276 sqlalchemy.db1.convert_unicode = true
358 sqlalchemy.db1.convert_unicode = true
General Comments 0
You need to be logged in to leave comments. Login now