diff --git a/configs/production.ini b/configs/production.ini --- a/configs/production.ini +++ b/configs/production.ini @@ -754,7 +754,7 @@ ssh.enable_ui_key_generator = true #appenlight.log_namespace_blacklist = ; Statsd client config, this is used to send metrics to statsd -; We recommend setting statsd_exported and scrape them using Promethues +; We recommend setting statsd_exported and scrape them using Prometheus #statsd.enabled = false #statsd.statsd_host = 0.0.0.0 #statsd.statsd_port = 8125 diff --git a/rhodecode/config/middleware.py b/rhodecode/config/middleware.py --- a/rhodecode/config/middleware.py +++ b/rhodecode/config/middleware.py @@ -548,12 +548,12 @@ def sanitize_settings_and_apply_defaults settings_maker.make_setting('appenlight', False, parser='bool') temp_store = tempfile.gettempdir() - default_cache_dir = os.path.join(temp_store, 'rc_cache') + tmp_cache_dir = os.path.join(temp_store, 'rc_cache') # save default, cache dir, and use it for all backends later. default_cache_dir = settings_maker.make_setting( 'cache_dir', - default=default_cache_dir, default_when_empty=True, + default=tmp_cache_dir, default_when_empty=True, parser='dir:ensured') # exception store cache