From 5602cfe9bdf393b547ba035e648b3146f445e030 Mon Sep 17 00:00:00 2001 From: casjay Date: Fri, 16 Oct 2026 10:18:22 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20raise=20gitea=20DB=20MAX=5FIDLE?= =?UTF-8?q?=5FCONNS=20from=202=20to=2010=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Increase MAX_IDLE_CONNS in the app.ini template to keep more idle database connections pooled - Reduces connection churn, since CONN_MAX_LIFETIME is only 3s and MAX_OPEN_CONNS is 100 rootfs/tmp/etc/gitea/app.ini --- rootfs/tmp/etc/gitea/app.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/tmp/etc/gitea/app.ini b/rootfs/tmp/etc/gitea/app.ini index 6b73a41..e3e0d5f 100644 --- a/rootfs/tmp/etc/gitea/app.ini +++ b/rootfs/tmp/etc/gitea/app.ini @@ -157,7 +157,7 @@ SQLITE_JOURNAL_MODE = WAL SSL_MODE = disable CHARSET = utf8 PATH = REPLACE_DATABASE_DIR/gitea.db -MAX_IDLE_CONNS = 2 +MAX_IDLE_CONNS = 10 MAX_OPEN_CONNS = 100 CONN_MAX_LIFETIME = 3s SQLITE_TIMEOUT = 5000