mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 06:23:10 -06:00
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. |
||
|---|---|---|
| .. | ||
| migrate.go | ||
| migrate_test.go | ||
| sql.go | ||
| sqlutil.go | ||
| sqlutil_test.go | ||
| trace.go | ||
| trace_driver.go | ||
| trace_driver_wasm.go | ||
| unique_constraint.go | ||
| unique_constraint_wasm.go | ||
| uri.go | ||
| writer.go | ||
| writer_dummy.go | ||
| writer_exclusive.go | ||