mirror of
https://github.com/matrix-org/synapse.git
synced 2026-01-13 04:21:24 +01:00
Add logic to ClientRestResource to decide whether to mount servlets or not based on whether the current process is a worker. This is clearer to see what a worker runs than the completely separate / copy & pasted list of servlets being mounted for workers.