# Containerized Postgresql
jdbc.driver=org.testcontainers.jdbc.ContainerDatabaseDriver
jdbc.url=jdbc:tc:postgresql:13.1:///perun?TC_TMPFS=/testtmpfs:rw&?TC_INITSCRIPT=test-schema.sql&TC_DAEMON=true
jdbc.username=perun
jdbc.password=password

# Hikkari suggest to match number of connections with number of CPUs
# Using same values -> fix-sized-pool better handles spike demands.
# Should be below DB limit (150 for Perun).
jdbc.maximumPoolSize=25
jdbc.minimumIdle=1

# how long Perun waits for connection from the pool (5 min)
jdbc.connectionTimeout=300000

# how long we keep one connection in the pool before eviction,
# must be below DB or infrastructure limit (10 min)
jdbc.maxLifetime=600000

# how long we keep idle connection in the pool before eviction,
# must be below maxLifetime (5 min)
jdbc.idleTimeout=300000

# log connection which are stuck in the process of closing and returning
# to the pool for longer than "x" milliseconds and could be pointing
# to the leaked connection (30 sec).
jdbc.leakDetectionThreshold=30000

# Containerized Postgresql
jdbc.driver=org.testcontainers.jdbc.ContainerDatabaseDriver
jdbc.url=jdbc:tc:postgresql:13.2:///perun?TC_TMPFS=/testtmpfs:rw&?TC_INITSCRIPT=test-schema.sql&TC_DAEMON=true
jdbc.username=perun
jdbc.password=password

# Hikkari suggest to match number of connections with number of CPUs
# Using same values -> fix-sized-pool better handles spike demands.
# Should be below DB limit (150 for Perun).
jdbc.maximumPoolSize=25
jdbc.minimumIdle=1

# how long Perun waits for connection from the pool (5 min)
jdbc.connectionTimeout=300000

# how long we keep one connection in the pool before eviction,
# must be below DB or infrastructure limit (10 min)
jdbc.maxLifetime=600000

# how long we keep idle connection in the pool before eviction,
# must be below maxLifetime (5 min)
jdbc.idleTimeout=300000

# log connection which are stuck in the process of closing and returning
# to the pool for longer than "x" milliseconds and could be pointing
# to the leaked connection (30 sec).
jdbc.leakDetectionThreshold=30000

Upgrade Postgres docker image in test to 13.2
Upgrade Postgres docker image in test to 13.2
