Cap maximum open database connections

Fixes Gitea opening too many connections, which can impact other apps
trying to connect as well.
This commit is contained in:
Râu Cao 2025-03-05 13:53:33 +04:00
parent 90bf66ada9
commit 6be99aa3de
Signed by: raucao
GPG Key ID: 37036C356E56CC51

View File

@ -24,6 +24,7 @@ NAME = gitea
USER = gitea
PASSWD = <%= @postgresql_password %>
SSL_MODE = disable
MAX_OPEN_CONNS = 20
[repository]
ROOT = <%= @repository_root_directory %>