mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-18 22:17:35 +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.