1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00
juanfont.headscale/hscontrol/db
Pallab Pain 9047c09871
feat: add pqsql configs for open and idle connections (#1583)
When Postgres is used as the backing database for headscale,
it does not set a limit on maximum open and idle connections
which leads to hundreds of open connections to the Postgres
server.

This commit introduces the configuration variables to set those
values and also sets default while opening a new postgres connection.
2024-02-09 17:34:28 +01:00
..
addresses_test.go
addresses.go
api_key_test.go
api_key.go
db.go feat: add pqsql configs for open and idle connections (#1583) 2024-02-09 17:34:28 +01:00
node_test.go
node.go Replace database locks with transactions (#1701) 2024-02-08 17:28:19 +01:00
preauth_keys_test.go
preauth_keys.go
routes_test.go Restructure database config (#1700) 2024-02-09 07:27:00 +01:00
routes.go
suite_test.go Restructure database config (#1700) 2024-02-09 07:27:00 +01:00
users_test.go
users.go