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

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