Skip to content

Commit

Permalink
Send /{send,make}_knock to Synapse workers
Browse files Browse the repository at this point in the history
These endpoints should be handled by workers correctly.
  • Loading branch information
anoadragon453 committed May 14, 2024
1 parent 45351a5 commit a4aad84
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/SyTest/Homeserver/Synapse.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,7 @@ sub generate_haproxy_map
return <<'EOCONFIG';
^/_matrix/client/(v2_alpha|r0|v3)/sync$ synchrotron
^/_matrix/client/(api/v1|v2_alpha|r0)/events$ synchrotron
^/_matrix/client/(api/v1|v2_alpha|r0)/events$ synchrotron
^/_matrix/client/(api/v1|r0|v3)/initialSync$ synchrotron
^/_matrix/client/(api/v1|r0|v3)/rooms/[^/]+/initialSync$ synchrotron
Expand All @@ -1257,6 +1257,8 @@ sub generate_haproxy_map
^/_matrix/federation/v1/make_leave/ federation_reader
^/_matrix/federation/v1/send_join/ federation_reader
^/_matrix/federation/v1/send_leave/ federation_reader
^/_matrix/federation/(v1|v2)/make_knock/ federation_reader
^/_matrix/federation/(v1|v2)/send_knock/ federation_reader
^/_matrix/federation/v1/invite/ federation_reader
^/_matrix/federation/v1/query_auth/ federation_reader
^/_matrix/federation/v1/event_auth/ federation_reader
Expand Down

0 comments on commit a4aad84

Please sign in to comment.