aboutsummaryrefslogtreecommitdiff
path: root/userapi/consumers
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-10-05 11:07:17 +0100
committerGitHub <noreply@github.com>2022-10-05 11:07:17 +0100
commitebd137cf6b2fbd767625dc5289b0bef6d1e51971 (patch)
treea246da36e5ada18a7eae585cfb897c722c0acaaa /userapi/consumers
parente0703522932ab4bf41b23d5229c7a4540b59d830 (diff)
Check PostgreSQL connection count (#2760)
This PR queries PostgreSQL for the `max_connections` and `superuser_reserved_connections` settings and then ensures that Dendrite's `max_open_conns` doesn't exceed the allowed value. This is a really common source of configuration problems and can either result in blocking queries or deadlocks, so it seems reasonable that we complain as loudly as possible when it happens.
Diffstat (limited to 'userapi/consumers')
0 files changed, 0 insertions, 0 deletions