headscale/hscontrol/types
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
..
api_key.go Split code into modules 2023-05-26 12:24:50 +02:00
common.go Restructure database config (#1700) 2024-02-09 07:27:00 +01:00
config.go feat: add pqsql configs for open and idle connections (#1583) 2024-02-09 17:34:28 +01:00
const.go fix lint 2023-06-08 16:34:15 +02:00
node.go Add Customization Options to DERP Map entry of integrated DERP server (#1565) 2024-01-16 16:04:03 +01:00
node_test.go Add assert func for verifying status, netmap and netcheck (#1723) 2024-02-09 07:26:41 +01:00
preauth_key.go Split code into modules 2023-05-26 12:24:50 +02:00
routes.go ensure online status and route changes are propagated (#1564) 2023-12-09 18:09:24 +01:00
routes_test.go ensure online status and route changes are propagated (#1564) 2023-12-09 18:09:24 +01:00
users.go Replace database locks with transactions (#1701) 2024-02-08 17:28:19 +01:00