##// END OF EJS Templates
exc_store: default value should be constant accross all types of instances for shared exception store
marcink -
r524:2040b47b stable
parent child Browse files
Show More
@@ -245,8 +245,8 b' class HTTPApplication(object):'
245 vcsserver.CONFIG = settings_merged
245 vcsserver.CONFIG = settings_merged
246
246
247 def _sanitize_settings_and_apply_defaults(self, settings):
247 def _sanitize_settings_and_apply_defaults(self, settings):
248
248 temp_store = tempfile.gettempdir()
249 default_cache_dir = os.path.join(tempfile.gettempdir(), 'rc_cache')
249 default_cache_dir = os.path.join(temp_store, 'rc_cache')
250
250
251 # save default, cache dir, and use it for all backends later.
251 # save default, cache dir, and use it for all backends later.
252 default_cache_dir = _string_setting(
252 default_cache_dir = _string_setting(
@@ -262,7 +262,7 b' class HTTPApplication(object):'
262 _string_setting(
262 _string_setting(
263 settings,
263 settings,
264 'exception_tracker.store_path',
264 'exception_tracker.store_path',
265 default_cache_dir, lower=False)
265 temp_store, lower=False, default_when_empty=True)
266
266
267 # repo_object cache
267 # repo_object cache
268 _string_setting(
268 _string_setting(
General Comments 0
You need to be logged in to leave comments. Login now