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