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