headscale/hscontrol
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
..
assets update flake, fix prettier lint 2023-09-05 08:47:43 +02:00
db feat: add pqsql configs for open and idle connections (#1583) 2024-02-09 17:34:28 +01:00
derp Replace database locks with transactions (#1701) 2024-02-08 17:28:19 +01:00
mapper Replace database locks with transactions (#1701) 2024-02-08 17:28:19 +01:00
notifier Replace database locks with transactions (#1701) 2024-02-08 17:28:19 +01:00
policy Replace database locks with transactions (#1701) 2024-02-08 17:28:19 +01:00
templates update flake, fix prettier lint 2023-09-05 08:47:43 +02:00
types feat: add pqsql configs for open and idle connections (#1583) 2024-02-09 17:34:28 +01:00
util Add assert func for verifying status, netmap and netcheck (#1723) 2024-02-09 07:26:41 +01:00
app.go Restructure database config (#1700) 2024-02-09 07:27:00 +01:00
auth.go Replace database locks with transactions (#1701) 2024-02-08 17:28:19 +01:00
auth_noise.go Remove support for non-noise clients (pre-1.32) (#1611) 2023-11-23 08:31:33 +01:00
grpcv1.go Replace database locks with transactions (#1701) 2024-02-08 17:28:19 +01:00
grpcv1_test.go rename package name to hscontrol 2023-05-10 20:47:51 +02:00
handlers.go Remove support for non-noise clients (pre-1.32) (#1611) 2023-11-23 08:31:33 +01:00
metrics.go Rename Machine to Node (#1553) 2023-09-24 06:42:05 -05:00
noise.go move derp.go to derp module 2023-06-08 16:34:15 +02:00
oidc.go Replace database locks with transactions (#1701) 2024-02-08 17:28:19 +01:00
platform_config.go rename package name to hscontrol 2023-05-10 20:47:51 +02:00
poll.go Add assert func for verifying status, netmap and netcheck (#1723) 2024-02-09 07:26:41 +01:00
poll_noise.go Replace database locks with transactions (#1701) 2024-02-08 17:28:19 +01:00
suite_test.go Restructure database config (#1700) 2024-02-09 07:27:00 +01:00
tailsql.go embed (hidden) tailsql for debugging (#1663) 2023-12-20 21:47:48 +01:00