summary refs log tree commit diff
path: root/synapse/push/httppusher.py
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2016-04-21 17:21:02 +0100
committerMark Haines <mjark@negativecurvature.net>2016-04-21 17:22:37 +0100
commita3ac837599f62b77f458505f841cee6072c1f921 (patch)
tree0a93eb93841e6d21b041f370c478f356d5f54a08 /synapse/push/httppusher.py
parentMerge pull request #743 from matrix-org/markjh/slave_pushers (diff)
downloadsynapse-a3ac837599f62b77f458505f841cee6072c1f921.tar.xz
Optionally split out the pushers into a separate process
Diffstat (limited to 'synapse/push/httppusher.py')
-rw-r--r--synapse/push/httppusher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/httppusher.py b/synapse/push/httppusher.py
index 6950a20632..3992804845 100644
--- a/synapse/push/httppusher.py
+++ b/synapse/push/httppusher.py
@@ -230,7 +230,7 @@ class HttpPusher(object):
                         "Pushkey %s was rejected: removing",
                         pk
                     )
-                    yield self.hs.get_pusherpool().remove_pusher(
+                    yield self.hs.remove_pusher(
                         self.app_id, pk, self.user_id
                     )
         defer.returnValue(True)