gitea: bound shared database connection pool

This commit is contained in:
jenkins 2026-11-08 16:20:53 -06:00
parent 4fce4d41fa
commit 534f986dcd

View File

@ -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