summary refs log tree commit diff
path: root/synapse/federation/send_queue.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-07-29 23:22:13 +0100
committerGitHub <noreply@github.com>2020-07-29 23:22:13 +0100
commit2c1b9d676322fad8cb57c92f97f81393bcfcbe56 (patch)
tree98566808c5b6e83163ad151a261fcfb62033fd6b /synapse/federation/send_queue.py
parent1.18.0rc2 (diff)
downloadsynapse-2c1b9d676322fad8cb57c92f97f81393bcfcbe56.tar.xz
Update worker docs with recent enhancements (#7969)
Diffstat (limited to 'synapse/federation/send_queue.py')
-rw-r--r--synapse/federation/send_queue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/send_queue.py b/synapse/federation/send_queue.py
index 4fc9ff92e5..2b0ab2dcbf 100644
--- a/synapse/federation/send_queue.py
+++ b/synapse/federation/send_queue.py
@@ -57,7 +57,7 @@ class FederationRemoteSendQueue(object):
 
         # We may have multiple federation sender instances, so we need to track
         # their positions separately.
-        self._sender_instances = hs.config.federation.federation_shard_config.instances
+        self._sender_instances = hs.config.worker.federation_shard_config.instances
         self._sender_positions = {}
 
         # Pending presence map user_id -> UserPresenceState