fix(spire-server): Support duration strings for connMaxLifetime (#752)

* fix(spire-server): Support duration strings for connMaxLifetime

Signed-off-by: Shubham Hibare <[email protected]>

* fix

Signed-off-by: Shubham Hibare <[email protected]>

---------

Signed-off-by: Shubham Hibare <[email protected]>
This commit is contained in:
Shubham Hibare
2026-02-19 10:55:11 -08:00
committed by GitHub
parent 730b76bbaa
commit 3daadc6456
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -196,7 +196,7 @@ dataStore:
maxOpenConns: 100
## @param dataStore.sql.maxIdleConns The maximum number of idle connections in the pool
maxIdleConns: 2
## @param dataStore.sql.connMaxLifetime The maximum amount of time a connection may be reused. If 0, time is unlimited
## @param dataStore.sql.connMaxLifetime The maximum amount of time a connection may be reused. Supports duration strings (e.g., "1h", "30m", "3600s") or 0 for unlimited. Duration strings are recommended to prevent connection accumulation.
connMaxLifetime: 0
## @param dataStore.sql.disableMigration True to disable auto-migration functionality
disableMigration: false