gitea: bound shared database connection pool
This commit is contained in:
parent
4fce4d41fa
commit
534f986dcd
@ -277,6 +277,14 @@ spec:
|
||||
value: "gitea"
|
||||
- name: DB_USER
|
||||
value: "gitea"
|
||||
# Leave capacity in the shared 100-connection Postgres instance.
|
||||
# Git fetches failed during shared connection exhaustion.
|
||||
- name: GITEA__database__MAX_OPEN_CONNS
|
||||
value: "12"
|
||||
- name: GITEA__database__MAX_IDLE_CONNS
|
||||
value: "2"
|
||||
- name: GITEA__database__CONN_MAX_LIFETIME
|
||||
value: "5m"
|
||||
- name: START_SSH_SERVER
|
||||
value: "true"
|
||||
- name: SSH_PORT
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user