summary refs log tree commit diff
path: root/synapse/storage/data_stores
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/storage/data_stores
parent1.18.0rc2 (diff)
downloadsynapse-2c1b9d676322fad8cb57c92f97f81393bcfcbe56.tar.xz
Update worker docs with recent enhancements (#7969)
Diffstat (limited to 'synapse/storage/data_stores')
-rw-r--r--synapse/storage/data_stores/main/stream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/data_stores/main/stream.py b/synapse/storage/data_stores/main/stream.py
index 5e32c7aa1e..10d39b3699 100644
--- a/synapse/storage/data_stores/main/stream.py
+++ b/synapse/storage/data_stores/main/stream.py
@@ -255,7 +255,7 @@ class StreamWorkerStore(EventsWorkerStore, SQLBaseStore):
 
         self._instance_name = hs.get_instance_name()
         self._send_federation = hs.should_send_federation()
-        self._federation_shard_config = hs.config.federation.federation_shard_config
+        self._federation_shard_config = hs.config.worker.federation_shard_config
 
         # If we're a process that sends federation we may need to reset the
         # `federation_stream_position` table to match the current sharding