summary refs log tree commit diff
path: root/synapse/config/workers.py
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-06-28 06:09:03 +0200
committerRory& <root@rory.gay>2025-06-28 06:09:51 +0200
commit47fc8cbca3872c459af11fa8df900c537c32b6f5 (patch)
tree32ee6445c1a3d4f2c836b58337d3f8aa20609cae /synapse/config/workers.py
parentRemove deprecated structured logging error (diff)
downloadsynapse-47fc8cbca3872c459af11fa8df900c537c32b6f5.tar.xz
Removed deprecated TCP replication error
Diffstat (limited to '')
-rw-r--r--synapse/config/workers.py5
1 files changed, 0 insertions, 5 deletions
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: