small naming fixes

This commit is contained in:
RhodeCode Admin 2023-02-02 09:41:40 +01:00
parent 753c195eaf
commit 83e86c7943
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -548,12 +548,12 @@ def sanitize_settings_and_apply_defaults(global_config, settings):
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