0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-05 15:39:26 +01:00
dendrite/internal
Neil Alexander ebd137cf6b
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.
2022-10-05 11:07:17 +01:00
..
caching Protect user_interactive reads and writes with locks (#2635) 2022-08-12 09:12:05 +01:00
eventutil Stronger default power levels 2022-09-06 17:25:17 +01:00
fulltext Side effect import bleve analyzer languages (#2763) 2022-10-05 11:14:33 +02:00
hooks MSC2836: Threading - part one (#1589) 2020-11-19 11:34:59 +00:00
httputil Handle errors differently in the DeviceListUpdater (#2695) 2022-09-07 11:44:27 +02:00
pushgateway Back out matrix-org/dendrite#2421 by restoring http.Clients 2022-05-10 11:08:10 +01:00
pushrules Update getting pushrules, add tests, tweak pushrules (#2705) 2022-09-09 13:56:33 +02:00
sqlutil Check PostgreSQL connection count (#2760) 2022-10-05 11:07:17 +01:00
transactions Implement read receipts (#1528) 2020-11-09 18:46:11 +00:00
log.go Fix linter issues (#2624) 2022-08-05 11:12:41 +02:00
log_unix.go Do not use ioutil as it is deprecated (#2625) 2022-08-05 10:26:59 +01:00
log_windows.go Fix building on Windows (#2008) 2021-11-02 16:50:59 +00:00
mutex.go Add a per-room mutex to federationapi when processing transactions (#1810) 2021-03-30 10:01:32 +01:00
version.go Version 0.10.1 2022-09-30 17:15:43 +01:00