# HG changeset patch # User RhodeCode Admin # Date 2022-12-12 21:34:15 # Node ID 78759779cf234b28146c37096e4cd980da94cfbb # Parent a78e628ed8b1e64b281c4eafa33879ea97e911d2 env: small fixes to sync with vcsserver settings maker diff --git a/rhodecode/config/middleware.py b/rhodecode/config/middleware.py --- a/rhodecode/config/middleware.py +++ b/rhodecode/config/middleware.py @@ -527,8 +527,8 @@ def sanitize_settings_and_apply_defaults # statsd settings_maker.make_setting('statsd.enabled', False, parser='bool') - settings_maker.make_setting('statsd.statsd_host', '0.0.0.0') - settings_maker.make_setting('statsd.statsd_port', 8125, parser='int') + settings_maker.make_setting('statsd.statsd_host', 'statsd-exporter', parser='string') + settings_maker.make_setting('statsd.statsd_port', 9125, parser='int') settings_maker.make_setting('statsd.statsd_prefix', '') settings_maker.make_setting('statsd.statsd_ipv6', False, parser='bool') diff --git a/rhodecode/config/settings_maker.py b/rhodecode/config/settings_maker.py --- a/rhodecode/config/settings_maker.py +++ b/rhodecode/config/settings_maker.py @@ -27,7 +27,10 @@ import tempfile import logging.config log = logging.getLogger(__name__) -set_keys = {} +# skip keys, that are set here, so we don't double process those +set_keys = { + '__file__': '' +} def str2bool(_str):