From 47fc8cbca3872c459af11fa8df900c537c32b6f5 Mon Sep 17 00:00:00 2001 From: Rory& Date: Sat, 28 Jun 2025 06:09:03 +0200 Subject: Removed deprecated TCP replication error --- synapse/config/workers.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'synapse/config/workers.py') diff --git a/synapse/config/workers.py b/synapse/config/workers.py index 2dfeb47c2e..1685468773 100644 --- a/synapse/config/workers.py +++ b/synapse/config/workers.py @@ -42,7 +42,6 @@ from synapse.config._base import ( ) from synapse.config._util import parse_and_validate_mapping from synapse.config.server import ( - DIRECT_TCP_ERROR, TCPListenerConfig, parse_listener_def, ) @@ -245,10 +244,6 @@ class WorkerConfig(Config): raise ConfigError("worker_log_config must be a string") self.worker_log_config = worker_log_config - # The port on the main synapse for TCP replication - if "worker_replication_port" in config: - raise ConfigError(DIRECT_TCP_ERROR, ("worker_replication_port",)) - # The shared secret used for authentication when connecting to the main synapse. worker_replication_secret = config.get("worker_replication_secret", None) if worker_replication_secret and not allow_secrets_in_config: -- cgit 1.5.1