|
@@ -107,6 +107,33 @@ WORKERS_CONFIG: Dict[str, Dict[str, Any]] = {
|
|
|
"shared_extra_conf": {},
|
|
|
"worker_extra_conf": "",
|
|
|
},
|
|
|
+ "client_reader": {
|
|
|
+ "app": "synapse.app.generic_worker",
|
|
|
+ "listener_resources": ["client"],
|
|
|
+ "endpoint_patterns": [
|
|
|
+ "^/_matrix/client/(api/v1|r0|v3|unstable)/publicRooms$",
|
|
|
+ "^/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/joined_members$",
|
|
|
+ "^/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/context/.*$",
|
|
|
+ "^/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/members$",
|
|
|
+ "^/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/state$",
|
|
|
+ "^/_matrix/client/v1/rooms/.*/hierarchy$",
|
|
|
+ "^/_matrix/client/(v1|unstable)/rooms/.*/relations/",
|
|
|
+ "^/_matrix/client/(api/v1|r0|v3|unstable)/login$",
|
|
|
+ "^/_matrix/client/(api/v1|r0|v3|unstable)/account/3pid$",
|
|
|
+ "^/_matrix/client/(api/v1|r0|v3|unstable)/account/whoami$",
|
|
|
+ "^/_matrix/client/versions$",
|
|
|
+ "^/_matrix/client/(api/v1|r0|v3|unstable)/voip/turnServer$",
|
|
|
+ "^/_matrix/client/(r0|v3|unstable)/register$",
|
|
|
+ "^/_matrix/client/(r0|v3|unstable)/auth/.*/fallback/web$",
|
|
|
+ "^/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/messages$",
|
|
|
+ "^/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/event",
|
|
|
+ "^/_matrix/client/(api/v1|r0|v3|unstable)/joined_rooms",
|
|
|
+ "^/_matrix/client/(api/v1|r0|v3|unstable/.*)/rooms/.*/aliases",
|
|
|
+ "^/_matrix/client/(api/v1|r0|v3|unstable)/search",
|
|
|
+ ],
|
|
|
+ "shared_extra_conf": {},
|
|
|
+ "worker_extra_conf": "",
|
|
|
+ },
|
|
|
"federation_reader": {
|
|
|
"app": "synapse.app.generic_worker",
|
|
|
"listener_resources": ["federation"],
|