mirror of
https://github.com/matrix-org/dendrite
synced 2024-11-18 15:50:52 +01:00
ebd137cf6b
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. |
||
---|---|---|
.. | ||
caching | ||
eventutil | ||
fulltext | ||
hooks | ||
httputil | ||
pushgateway | ||
pushrules | ||
sqlutil | ||
transactions | ||
log.go | ||
log_unix.go | ||
log_windows.go | ||
mutex.go | ||
version.go |