summary refs log tree commit diff
path: root/synapse/server.py
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2016-04-22 11:34:08 +0100
committerMark Haines <mjark@negativecurvature.net>2016-04-22 11:34:08 +0100
commit2022ae0fb93e4ce0bc4b031a325abf5938ae7118 (patch)
tree4d4f0b55c76167585127b011320af2dcccc4f9cb /synapse/server.py
parentMerge pull request #745 from matrix-org/erikj/search-index (diff)
parentOptionally split out the pushers into a separate process (diff)
downloadsynapse-2022ae0fb93e4ce0bc4b031a325abf5938ae7118.tar.xz
Merge pull request #746 from matrix-org/markjh/split_out_pusher
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):