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:
parent
90bf66ada9
commit
6be99aa3de
@ -24,6 +24,7 @@ NAME = gitea
|
|||||||
USER = gitea
|
USER = gitea
|
||||||
PASSWD = <%= @postgresql_password %>
|
PASSWD = <%= @postgresql_password %>
|
||||||
SSL_MODE = disable
|
SSL_MODE = disable
|
||||||
|
MAX_OPEN_CONNS = 20
|
||||||
|
|
||||||
[repository]
|
[repository]
|
||||||
ROOT = <%= @repository_root_directory %>
|
ROOT = <%= @repository_root_directory %>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user