summary refs log tree commit diff
path: root/synapse/server.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/server.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/server.py')
-rw-r--r--synapse/server.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/server.py b/synapse/server.py
index 368d615576..ee138de756 100644
--- a/synapse/server.py
+++ b/synapse/server.py
@@ -193,6 +193,9 @@ class HomeServer(object):
             **self.db_config.get("args", {})
         )
 
+    def remove_pusher(self, app_id, push_key, user_id):
+        return self.get_pusherpool().remove_pusher(app_id, push_key, user_id)
+
 
 def _make_dependency_method(depname):
     def _get(hs):