Add listener health (#14747)

Fixes: #8780
This commit is contained in:
Dirk Klimpel 2023-01-11 13:00:38 +01:00 committed by GitHub
parent 7b3a8f2b0c
commit 73f097888e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 0 deletions

View file

@ -199,6 +199,9 @@ class GenericWorkerServer(HomeServer):
"A 'media' listener is configured but the media"
" repository is disabled. Ignoring."
)
elif name == "health":
# Skip loading, health resource is always included
continue
if name == "openid" and "federation" not in res.names:
# Only load the openid resource separately if federation resource