Show More
@@ -754,7 +754,7 b' ssh.enable_ui_key_generator = true' | |||||
754 | #appenlight.log_namespace_blacklist = |
|
754 | #appenlight.log_namespace_blacklist = | |
755 |
|
755 | |||
756 | ; Statsd client config, this is used to send metrics to statsd |
|
756 | ; Statsd client config, this is used to send metrics to statsd | |
757 |
; We recommend setting statsd_exported and scrape them using Prometh |
|
757 | ; We recommend setting statsd_exported and scrape them using Prometheus | |
758 | #statsd.enabled = false |
|
758 | #statsd.enabled = false | |
759 | #statsd.statsd_host = 0.0.0.0 |
|
759 | #statsd.statsd_host = 0.0.0.0 | |
760 | #statsd.statsd_port = 8125 |
|
760 | #statsd.statsd_port = 8125 |
@@ -548,12 +548,12 b' def sanitize_settings_and_apply_defaults' | |||||
548 | settings_maker.make_setting('appenlight', False, parser='bool') |
|
548 | settings_maker.make_setting('appenlight', False, parser='bool') | |
549 |
|
549 | |||
550 | temp_store = tempfile.gettempdir() |
|
550 | temp_store = tempfile.gettempdir() | |
551 |
|
|
551 | tmp_cache_dir = os.path.join(temp_store, 'rc_cache') | |
552 |
|
552 | |||
553 | # save default, cache dir, and use it for all backends later. |
|
553 | # save default, cache dir, and use it for all backends later. | |
554 | default_cache_dir = settings_maker.make_setting( |
|
554 | default_cache_dir = settings_maker.make_setting( | |
555 | 'cache_dir', |
|
555 | 'cache_dir', | |
556 |
default= |
|
556 | default=tmp_cache_dir, default_when_empty=True, | |
557 | parser='dir:ensured') |
|
557 | parser='dir:ensured') | |
558 |
|
558 | |||
559 | # exception store cache |
|
559 | # exception store cache |
General Comments 0
You need to be logged in to leave comments.
Login now