From 16e1f6e500d812cf60c5b339b0cf1260565a4d92 Mon Sep 17 00:00:00 2001 From: Carlos Tejo Alonso <1654811+dayures@users.noreply.github.com> Date: Fri, 14 Nov 2025 11:31:00 +0100 Subject: [PATCH] update: added undocumented parameters (connection.pool.timeout and connection.pool.validation_timeout) --- src/sysadmin/reference/dhis.conf.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/sysadmin/reference/dhis.conf.md b/src/sysadmin/reference/dhis.conf.md index d31191b4d..3ec7c3020 100644 --- a/src/sysadmin/reference/dhis.conf.md +++ b/src/sysadmin/reference/dhis.conf.md @@ -74,6 +74,12 @@ connection.pool.preferred.test.query = select 1 # Deprecated since v43. Configure the number of helper threads used by dhis2 for jdbc operations. (default: 3) connection.pool.num.helper.threads = 3 +# Hikari DB pool feature. Connection pool timeout: Set the maximum number of milliseconds that a client will wait for a connection from the pool. (default: 30ms). +connection.pool.timeout = 30 + +# Sets the maximum number of milliseconds that the Hikari pool will wait for a connection to be validated as alive. (default: 5ms). +connection.pool.validation_timeout = 5 + # Database datasource pool type. Supported pool types are: hikari (default), c3p0 (deprecated), unpooled db.pool.type = hikari