Skip to content

Max Connection Age

Key: qie.dbConnection.maxConnectionAgeMillis

Env Var: QIE_DBCONNECTION_MAXCONNECTIONAGEMILLIS

Default: 300000

Scope: Global

Description: Tells the JDBC connection pool manager to replace connections when they are this old regardless of if they are bad or not. The default behavior it to replace all connections after 5 minutes.

Examples

Env Var

QIE_DBCONNECTION_MAXCONNECTIONAGEMILLIS=600000

Java Option

-Dqie.dbConnection.maxConnectionAgeMillis=600000

YAML

QIE_DBCONNECTION_MAXCONNECTIONAGEMILLIS: 600000