aboutsummaryrefslogtreecommitdiff
path: root/dendrite-sample.polylith.yaml
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-09-01 09:20:40 +0100
committerGitHub <noreply@github.com>2022-09-01 09:20:40 +0100
commitad6b902b8462adb568d799c69a74b60d69574d0c (patch)
tree9037eb130a47c25cb320116758baa6ee265e89b6 /dendrite-sample.polylith.yaml
parent175f65407a7f684753334022e66b8209f3db7396 (diff)
Refactor appservices component (#2687)
This PR refactors the app services component. It makes the following changes: * Each appservice now gets its own NATS JetStream consumer * The appservice database is now removed entirely, since we just use JetStream as a data source instead * The entire component is now much simpler and we deleted lots of lines of code 💅 The result is that it should be much lighter and hopefully much more performant.
Diffstat (limited to 'dendrite-sample.polylith.yaml')
-rw-r--r--dendrite-sample.polylith.yaml7
1 files changed, 0 insertions, 7 deletions
diff --git a/dendrite-sample.polylith.yaml b/dendrite-sample.polylith.yaml
index 856b4ab2..3caf9143 100644
--- a/dendrite-sample.polylith.yaml
+++ b/dendrite-sample.polylith.yaml
@@ -132,13 +132,6 @@ app_service_api:
listen: http://[::]:7777 # The listen address for incoming API requests
connect: http://app_service_api:7777 # The connect address for other components to use
- # Database configuration for this component.
- database:
- connection_string: postgresql://username:password@hostname/dendrite_appservice?sslmode=disable
- max_open_conns: 10
- max_idle_conns: 2
- conn_max_lifetime: -1
-
# Disable the validation of TLS certificates of appservices. This is
# not recommended in production since it may allow appservice traffic
# to be sent to an insecure endpoint.