##// END OF EJS Templates
exception_tracker: use a default value of exception store that is working across all instances e.g vcsserver and enterprise.
marcink -
r3065:fbb1492a default
parent child Browse files
Show More
@@ -436,8 +436,8 b' def _sanitize_vcs_settings(settings):'
436
436
437
437
438 def _sanitize_cache_settings(settings):
438 def _sanitize_cache_settings(settings):
439
439 temp_store = tempfile.gettempdir()
440 default_cache_dir = os.path.join(tempfile.gettempdir(), 'rc_cache')
440 default_cache_dir = os.path.join(temp_store, 'rc_cache')
441
441
442 # save default, cache dir, and use it for all backends later.
442 # save default, cache dir, and use it for all backends later.
443 default_cache_dir = _string_setting(
443 default_cache_dir = _string_setting(
@@ -453,7 +453,7 b' def _sanitize_cache_settings(settings):'
453 _string_setting(
453 _string_setting(
454 settings,
454 settings,
455 'exception_tracker.store_path',
455 'exception_tracker.store_path',
456 default_cache_dir, lower=False)
456 temp_store, lower=False, default_when_empty=True)
457
457
458 # cache_perms
458 # cache_perms
459 _string_setting(
459 _string_setting(
General Comments 0
You need to be logged in to leave comments. Login now