Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

route GET account_data requests to client_reader #855

Merged
merged 3 commits into from
Apr 21, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions lib/SyTest/Homeserver/Synapse.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1226,10 +1226,13 @@ EOCONFIG
sub generate_haproxy_get_map
{
return <<'EOCONFIG';
^/_matrix/federation/v1/groups/ federation_reader

^/_matrix/client/(api/v1|r0|unstable)/groups/ client_reader
# pushrules should be here, but the tests seem to be racy.
# ^/_matrix/client/(api/v1|r0|unstable)/pushrules/ client_reader
^/_matrix/client/(api/v1|r0|unstable)/groups/ client_reader
^/_matrix/client/r0/user/[^/]*/account_data/ client_reader
^/_matrix/client/r0/user/[^/]*/rooms/[^/]*/account_data/ client_reader

^/_matrix/federation/v1/groups/ federation_reader
EOCONFIG
}

Expand Down