mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
f685318c2a
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.
1 line
70 B
Text
1 line
70 B
Text
Share the `ClientRestResource` for both workers and the main process.
|