summary refs log tree commit diff
path: root/synapse/app/homeserver.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-22 13:13:07 +0100
committerErik Johnston <erik@matrix.org>2015-05-22 13:13:07 +0100
commit59a0682f3e9fe64c7ab35c011b0af7b87ee54f71 (patch)
tree692fce4087f209787537bf70a51c2cfc29d75135 /synapse/app/homeserver.py
parentRevert register_new_matrix_user to use v1 api (diff)
downloadsynapse-59a0682f3e9fe64c7ab35c011b0af7b87ee54f71.tar.xz
Enable changing the interface the metrics listener binds to
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-xsynapse/app/homeserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py
index fa43211415..70a7be60b8 100755
--- a/synapse/app/homeserver.py
+++ b/synapse/app/homeserver.py
@@ -277,7 +277,7 @@ class SynapseHomeServer(HomeServer):
                     config,
                     metrics_resource,
                 ),
-                interface="127.0.0.1",
+                interface=config.metrics_interface,
             )
             logger.info("Metrics now running on 127.0.0.1 port %d", config.metrics_port)