exception_tracker: use a default value of exception store that is working across all instances e.g vcsserver and enterprise.
This commit is contained in:
parent
f466a75321
commit
169bb210f0
1 changed files with 3 additions and 3 deletions
|
|
@ -436,8 +436,8 @@ def _sanitize_vcs_settings(settings):
|
|||
|
||||
|
||||
def _sanitize_cache_settings(settings):
|
||||
|
||||
default_cache_dir = os.path.join(tempfile.gettempdir(), 'rc_cache')
|
||||
temp_store = tempfile.gettempdir()
|
||||
default_cache_dir = os.path.join(temp_store, 'rc_cache')
|
||||
|
||||
# save default, cache dir, and use it for all backends later.
|
||||
default_cache_dir = _string_setting(
|
||||
|
|
@ -453,7 +453,7 @@ def _sanitize_cache_settings(settings):
|
|||
_string_setting(
|
||||
settings,
|
||||
'exception_tracker.store_path',
|
||||
default_cache_dir, lower=False)
|
||||
temp_store, lower=False, default_when_empty=True)
|
||||
|
||||
# cache_perms
|
||||
_string_setting(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue