Skip to content

Commit

Permalink
route GET account_data requests to client_reader (#855)
Browse files Browse the repository at this point in the history
  • Loading branch information
richvdh authored Apr 21, 2020
1 parent d1b97e8 commit 2d2fbbb
Showing 1 changed file with 6 additions and 3 deletions.
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

0 comments on commit 2d2fbbb

Please sign in to comment.