summary refs log tree commit diff
path: root/synapse/config/push.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2021-04-23 14:38:31 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2021-04-23 14:38:31 +0100
commit6afa265e4e3aac05491c78c1720710a909748a23 (patch)
tree905ec9a7bc3169eb11bdd74092fee5b9cf1da847 /synapse/config/push.py
parentMerge commit '1b2d6d55c' into anoa/dinsic_release_1_31_0 (diff)
parentClean up `ShardedWorkerHandlingConfig` (#9466) (diff)
downloadsynapse-6afa265e4e3aac05491c78c1720710a909748a23.tar.xz
Merge commit '292792194' into anoa/dinsic_release_1_31_0
Diffstat (limited to 'synapse/config/push.py')
-rw-r--r--synapse/config/push.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/synapse/config/push.py b/synapse/config/push.py

index 3adbfb73e6..7831a2ef79 100644 --- a/synapse/config/push.py +++ b/synapse/config/push.py
@@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -from ._base import Config, ShardedWorkerHandlingConfig +from ._base import Config class PushConfig(Config): @@ -27,9 +27,6 @@ class PushConfig(Config): "group_unread_count_by_room", True ) - pusher_instances = config.get("pusher_instances") or [] - self.pusher_shard_config = ShardedWorkerHandlingConfig(pusher_instances) - # There was a a 'redact_content' setting but mistakenly read from the # 'email'section'. Check for the flag in the 'push' section, and log, # but do not honour it to avoid nasty surprises when people upgrade.