summary refs log tree commit diff
path: root/synapse/replication/http/__init__.py
diff options
context:
space:
mode:
authorShay <hillerys@element.io>2022-09-28 03:11:48 -0700
committerGitHub <noreply@github.com>2022-09-28 10:11:48 +0000
commit8ab16a92edd675453c78cfd9974081e374b0f998 (patch)
tree57cb2dae52dbb6e3e09a18e1fb7e6038afcc4d20 /synapse/replication/http/__init__.py
parentPrepatory work for batching events to send (#13487) (diff)
downloadsynapse-8ab16a92edd675453c78cfd9974081e374b0f998.tar.xz
Persist CreateRoom events to DB in a batch (#13800)
Diffstat (limited to 'synapse/replication/http/__init__.py')
-rw-r--r--synapse/replication/http/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/replication/http/__init__.py b/synapse/replication/http/__init__.py
index 53aa7fa4c6..ac9a92240a 100644
--- a/synapse/replication/http/__init__.py
+++ b/synapse/replication/http/__init__.py
@@ -25,6 +25,7 @@ from synapse.replication.http import (
     push,
     register,
     send_event,
+    send_events,
     state,
     streams,
 )
@@ -43,6 +44,7 @@ class ReplicationRestResource(JsonResource):
 
     def register_servlets(self, hs: "HomeServer") -> None:
         send_event.register_servlets(hs, self)
+        send_events.register_servlets(hs, self)
         federation.register_servlets(hs, self)
         presence.register_servlets(hs, self)
         membership.register_servlets(hs, self)