mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-26 08:53:05 +00:00
9047c09871
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. |
||
---|---|---|
.. | ||
addresses.go | ||
addresses_test.go | ||
api_key.go | ||
api_key_test.go | ||
db.go | ||
node.go | ||
node_test.go | ||
preauth_keys.go | ||
preauth_keys_test.go | ||
routes.go | ||
routes_test.go | ||
suite_test.go | ||
users.go | ||
users_test.go |