diff --git a/production.ini b/production.ini --- a/production.ini +++ b/production.ini @@ -7,6 +7,7 @@ [DEFAULT] debug = true +pdebug = false ################################################################################ ## Uncomment and replace with the address which should receive ## ## any error reports after application crash ## @@ -29,7 +30,7 @@ debug = true threadpool_workers = 5 ##max request before thread respawn -threadpool_max_requests = 2 +threadpool_max_requests = 10 ##option to use threads of process use_threadpool = true @@ -41,12 +42,15 @@ port = 8001 [app:main] use = egg:rhodecode full_stack = true -static_files = false +static_files = true lang=en cache_dir = %(here)s/data index_dir = %(here)s/data/index +app_instance_uuid = prod1234 cut_off_limit = 256000 -force_https = false +force_https = false +commit_parse_limit = 50 +use_gravatar = true #################################### ### CELERY CONFIG #### @@ -70,7 +74,7 @@ celery.result.serialier = json celeryd.concurrency = 2 #celeryd.log.file = celeryd.log celeryd.log.level = debug -celeryd.max.tasks.per.child = 3 +celeryd.max.tasks.per.child = 1 #tasks will never be sent to the queue, but executed locally instead. celery.always.eager = false @@ -92,9 +96,8 @@ beaker.cache.short_term.expire=60 beaker.cache.long_term.type=memory beaker.cache.long_term.expire=36000 - beaker.cache.sql_cache_short.type=memory -beaker.cache.sql_cache_short.expire=5 +beaker.cache.sql_cache_short.expire=10 beaker.cache.sql_cache_med.type=memory beaker.cache.sql_cache_med.expire=360 @@ -139,9 +142,10 @@ logview.pylons.util = #eee ######################################################### ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ### ######################################################### -sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db -#sqlalchemy.db1.echo = False -#sqlalchemy.db1.pool_recycle = 3600 +#sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db +sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode +sqlalchemy.db1.echo = false +sqlalchemy.db1.pool_recycle = 3600 sqlalchemy.convert_unicode = true ################################ @@ -202,13 +206,13 @@ propagate = 0 class = StreamHandler args = (sys.stderr,) level = INFO -formatter = color_formatter +formatter = generic [handler_console_sql] class = StreamHandler args = (sys.stderr,) level = WARN -formatter = color_formatter_sql +formatter = generic ################ ## FORMATTERS ##