summary refs log tree commit diff
path: root/synapse/push/pusherpool.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-09-15 08:34:52 -0400
committerGitHub <noreply@github.com>2021-09-15 08:34:52 -0400
commit8c7a531e277f98ac6b7981b9738649f3a70feb94 (patch)
treea6e0088d17ee9c12218d3c21bc163f5cc7231848 /synapse/push/pusherpool.py
parentVerify `?chunk_id` actually corresponds to an insertion event that exists (MS... (diff)
downloadsynapse-8c7a531e277f98ac6b7981b9738649f3a70feb94.tar.xz
Use direct references for some configuration variables (part 2) (#10812)
Diffstat (limited to 'synapse/push/pusherpool.py')
-rw-r--r--synapse/push/pusherpool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/pusherpool.py b/synapse/push/pusherpool.py
index a1436f3930..26735447a6 100644
--- a/synapse/push/pusherpool.py
+++ b/synapse/push/pusherpool.py
@@ -62,7 +62,7 @@ class PusherPool:
         self.clock = self.hs.get_clock()
 
         # We shard the handling of push notifications by user ID.
-        self._pusher_shard_config = hs.config.push.pusher_shard_config
+        self._pusher_shard_config = hs.config.worker.pusher_shard_config
         self._instance_name = hs.get_instance_name()
         self._should_start_pushers = (
             self._instance_name in self._pusher_shard_config.instances