Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Operate
Environments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Matrix
Commits
f3ab5333
Commit
f3ab5333
authored
5 years ago
by
Erik Johnston
Browse files
Options
Downloads
Patches
Plain Diff
Support pagination API in client_reader worker
parent
74566982
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/workers.rst
+7
-0
7 additions, 0 deletions
docs/workers.rst
synapse/app/client_reader.py
+2
-0
2 additions, 0 deletions
synapse/app/client_reader.py
with
9 additions
and
0 deletions
docs/workers.rst
+
7
−
0
View file @
f3ab5333
...
...
@@ -239,6 +239,13 @@ be routed to the same instance::
^/_matrix/client/(r0|unstable)/register$
Pagination requests can also be handled, but all requests with the same path
room must be routed to the same instance. Additionally, care must be taken to
ensure that the purge history admin API is not used while pagination requests
for the room are not in flight::
^/_matrix/client/(api/v1|r0|unstable)/rooms/.*/messages$
``synapse.app.user_dir``
~~~~~~~~~~~~~~~~~~~~~~~~
...
...
This diff is collapsed.
Click to expand it.
synapse/app/client_reader.py
+
2
−
0
View file @
f3ab5333
...
...
@@ -52,6 +52,7 @@ from synapse.rest.client.v1.room import (
PublicRoomListRestServlet
,
RoomEventContextServlet
,
RoomMemberListRestServlet
,
RoomMessageListRestServlet
,
RoomStateRestServlet
,
)
from
synapse.rest.client.v1.voip
import
VoipRestServlet
...
...
@@ -109,6 +110,7 @@ class ClientReaderServer(HomeServer):
JoinedRoomMemberListRestServlet
(
self
).
register
(
resource
)
RoomStateRestServlet
(
self
).
register
(
resource
)
RoomEventContextServlet
(
self
).
register
(
resource
)
RoomMessageListRestServlet
(
self
).
register
(
resource
)
RegisterRestServlet
(
self
).
register
(
resource
)
LoginRestServlet
(
self
).
register
(
resource
)
ThreepidRestServlet
(
self
).
register
(
resource
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment