mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 16:34:49 -04:00
Move ClientTLSOptionsFactory init out of refresh_certificates (#4611)
It's nothing to do with refreshing the certificates. No idea why it was here.
This commit is contained in:
parent
719e073f00
commit
5d27730a73
5 changed files with 9 additions and 9 deletions
|
@ -216,9 +216,6 @@ def refresh_certificate(hs):
|
|||
logging.info("Loading certificate from disk...")
|
||||
hs.config.read_certificate_from_disk()
|
||||
hs.tls_server_context_factory = context_factory.ServerContextFactory(hs.config)
|
||||
hs.tls_client_options_factory = context_factory.ClientTLSOptionsFactory(
|
||||
hs.config
|
||||
)
|
||||
logging.info("Certificate loaded.")
|
||||
|
||||
if hs._listening_services:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue