mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-25 21:21:35 +00:00
955244c092
This commit replaces the default client from the http lib with a custom one. The previously used default client doesn't come with a timeout. This could cause unwanted locks. That solution chosen here creates a http client in the base component dendrite with a constant timeout of 30 seconds. If it should be necessary to overwrite this, we could include the timeout in the dendrite configuration. Here it would be a good idea to extend the type "Address" by a timeout and create an http client for each service. Closes #820 Signed-off-by: Benedikt Bongartz <benne@klimlive.de> Co-authored-by: Kegsay <kegan@matrix.org> |
||
---|---|---|
.. | ||
api | ||
consumers | ||
query | ||
routing | ||
storage | ||
types | ||
workers | ||
appservice.go | ||
README.md |
Application Service
This component interfaces with external Application Services. This includes any HTTP endpoints that application services call, as well as talking to any HTTP endpoints that application services provide themselves.
Consumers
This component consumes and filters events from the Roomserver Kafka stream, passing on any necessary events to subscribing application services.