# HG changeset patch # User RhodeCode Admin # Date 2023-02-02 08:41:40 # Node ID dd641e56481c93dedd55330bdd9a6d9217d77eae # Parent 5839470880b81e5e95ed78bfb783f2ee8e570839 small naming fixes 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