mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-10 07:55:48 -05:00
Enable changing the interface the metrics listener binds to
This commit is contained in:
parent
254aa3c986
commit
59a0682f3e
2 changed files with 6 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue