Optionally split out the pushers into a separate process

This commit is contained in:
Mark Haines 2016-04-21 17:21:02 +01:00
parent 78741cf025
commit a3ac837599
5 changed files with 217 additions and 1 deletions

View file

@ -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)