##// END OF EJS Templates
configs: updated dev and production ini files....
marcink -
r122:f76a6ed2 default
parent child Browse files
Show More
@@ -34,9 +34,10 b' pdebug = false'
34 34 host = 127.0.0.1
35 35 port = 5000
36 36
37 ##########################
37 ##################################
38 38 ## WAITRESS WSGI SERVER ##
39 ##########################
39 ## Recommended for Development ##
40 ##################################
40 41 use = egg:waitress#main
41 42 ## number of worker threads
42 43 threads = 5
@@ -56,7 +57,7 b' asyncore_use_poll = true'
56 57 ## when this option is set to more than one worker, recommended
57 58 ## value is (2 * NUMBER_OF_CPUS + 1), eg 2CPU = 5 workers
58 59 ## The `instance_id = *` must be set in the [app:main] section below
59 #workers = 1
60 #workers = 2
60 61 ## number of threads for each of the worker, must be set to 1 for gevent
61 62 ## generally recommened to be at 1
62 63 #threads = 1
@@ -372,9 +373,15 b' beaker.session.auto = false'
372 373 ## SEARCH INDEXING CONFIGURATION ##
373 374 ###################################
374 375
376 # WHOOSH
375 377 search.module = rhodecode.lib.index.whoosh
376 378 search.location = %(here)s/data/index
377 379
380 ## ELASTICSEARCH (EE edition only). Requires Elastic Search cluster
381 ## to be installed, and running
382 #search.module = rc_elasticsearch
383 #search.location = http://localhost:9200
384
378 385 ###################################
379 386 ## ERROR AND LOG HANDLING SYSTEM ##
380 387 ###################################
@@ -34,46 +34,47 b' pdebug = false'
34 34 host = 127.0.0.1
35 35 port = 5000
36 36
37 ##########################
37 ##################################
38 38 ## WAITRESS WSGI SERVER ##
39 ##########################
40 use = egg:waitress#main
39 ## Recommended for Development ##
40 ##################################
41 #use = egg:waitress#main
41 42 ## number of worker threads
42 threads = 5
43 #hreads = 5
43 44 ## MAX BODY SIZE 100GB
44 max_request_body_size = 107374182400
45 #max_request_body_size = 107374182400
45 46 ## Use poll instead of select, fixes file descriptors limits problems.
46 47 ## May not work on old windows systems.
47 asyncore_use_poll = true
48 #asyncore_use_poll = true
48 49
49 50
50 51 ##########################
51 52 ## GUNICORN WSGI SERVER ##
52 53 ##########################
53 54 ## run with gunicorn --log-config <inifile.ini> --paste <inifile.ini>
54 #use = egg:gunicorn#main
55 use = egg:gunicorn#main
55 56 ## Sets the number of process workers. You must set `instance_id = *`
56 57 ## when this option is set to more than one worker, recommended
57 58 ## value is (2 * NUMBER_OF_CPUS + 1), eg 2CPU = 5 workers
58 59 ## The `instance_id = *` must be set in the [app:main] section below
59 #workers = 1
60 workers = 2
60 61 ## number of threads for each of the worker, must be set to 1 for gevent
61 62 ## generally recommened to be at 1
62 63 #threads = 1
63 64 ## process name
64 #proc_name = rhodecode
65 proc_name = rhodecode
65 66 ## type of worker class, one of sync, gevent
66 67 ## recommended for bigger setup is using of of other than sync one
67 #worker_class = sync
68 worker_class = sync
68 69 ## The maximum number of simultaneous clients. Valid only for Gevent
69 70 #worker_connections = 10
70 71 ## max number of requests that worker will handle before being gracefully
71 72 ## restarted, could prevent memory leaks
72 #max_requests = 1000
73 #max_requests_jitter = 30
73 max_requests = 1000
74 max_requests_jitter = 30
74 75 ## ammount of time a worker can spend with handling a request before it
75 76 ## gets killed and restarted. Set to 6hrs
76 #timeout = 21600
77 timeout = 21600
77 78
78 79
79 80 ## prefix middleware for RhodeCode, disables force_https flag.
@@ -319,7 +320,7 b' beaker.session.data_dir = %(here)s/data/'
319 320
320 321 beaker.session.key = rhodecode
321 322 beaker.session.secret = production-rc-uytcxaz
322 #beaker.session.lock_dir = %(here)s/data/sessions/lock
323 beaker.session.lock_dir = %(here)s/data/sessions/lock
323 324
324 325 ## Secure encrypted cookie. Requires AES and AES python libraries
325 326 ## you must disable beaker.session.secret to use this
@@ -346,9 +347,15 b' beaker.session.auto = false'
346 347 ## SEARCH INDEXING CONFIGURATION ##
347 348 ###################################
348 349
350 # WHOOSH
349 351 search.module = rhodecode.lib.index.whoosh
350 352 search.location = %(here)s/data/index
351 353
354 ## ELASTICSEARCH (EE edition only). Requires Elastic Search cluster
355 ## to be installed, and running
356 #search.module = rc_elasticsearch
357 #search.location = http://localhost:9200
358
352 359 ###################################
353 360 ## ERROR AND LOG HANDLING SYSTEM ##
354 361 ###################################
@@ -361,7 +368,7 b' appenlight = false'
361 368
362 369 appenlight.server_url = https://api.appenlight.com
363 370 appenlight.api_key = YOUR_API_KEY
364 ;appenlight.transport_config = https://api.appenlight.com?threaded=1&timeout=5
371 #appenlight.transport_config = https://api.appenlight.com?threaded=1&timeout=5
365 372
366 373 # used for JS client
367 374 appenlight.api_public_key = YOUR_API_PUBLIC_KEY
General Comments 0
You need to be logged in to leave comments. Login now