##// END OF EJS Templates
exception_store: rename .ini option for future
marcink -
r540:e2101026 default
parent child Browse files
Show More
@@ -27,7 +27,7 b' locale = en_US.UTF-8'
27 core.binary_dir = ""
27 core.binary_dir = ""
28
28
29 ## custom exception store path, defaults to TMPDIR
29 ## custom exception store path, defaults to TMPDIR
30 exception_store_path =
30 exception_tracker.store_path =
31
31
32 ## Default cache dir for caches. Putting this into a ramdisk
32 ## Default cache dir for caches. Putting this into a ramdisk
33 ## can boost performance, eg. /tmpfs/data_ramdisk, however this directory might require
33 ## can boost performance, eg. /tmpfs/data_ramdisk, however this directory might require
@@ -48,7 +48,7 b' locale = en_US.UTF-8'
48 core.binary_dir = ""
48 core.binary_dir = ""
49
49
50 ## custom exception store path, defaults to TMPDIR
50 ## custom exception store path, defaults to TMPDIR
51 exception_store_path =
51 exception_tracker.store_path =
52
52
53 ## Default cache dir for caches. Putting this into a ramdisk
53 ## Default cache dir for caches. Putting this into a ramdisk
54 ## can boost performance, eg. /tmpfs/data_ramdisk, however this directory might require
54 ## can boost performance, eg. /tmpfs/data_ramdisk, however this directory might require
@@ -261,7 +261,7 b' class HTTPApplication(object):'
261 # exception store cache
261 # exception store cache
262 _string_setting(
262 _string_setting(
263 settings,
263 settings,
264 'exception_store_path',
264 'exception_tracker.store_path',
265 default_cache_dir, lower=False)
265 default_cache_dir, lower=False)
266
266
267 # repo_object cache
267 # repo_object cache
@@ -57,7 +57,7 b' def get_exc_store():'
57 """
57 """
58 import vcsserver as app
58 import vcsserver as app
59
59
60 exc_store_dir = app.CONFIG.get('exception_store_path', '') or tempfile.gettempdir()
60 exc_store_dir = app.CONFIG.get('exception_tracker.store_path', '') or tempfile.gettempdir()
61 _exc_store_path = os.path.join(exc_store_dir, exc_store_dir_name)
61 _exc_store_path = os.path.join(exc_store_dir, exc_store_dir_name)
62
62
63 _exc_store_path = os.path.abspath(_exc_store_path)
63 _exc_store_path = os.path.abspath(_exc_store_path)
General Comments 0
You need to be logged in to leave comments. Login now