FigureTechnologies / digital-currency-consortium

Digital Currency Consortium middleware - interface between banks and digital currency smart contracts.
Apache License 2.0
12 stars 3 forks source link

Allow hikari db max lifetime to be configurable #115

Closed leeduan closed 2 years ago

leeduan commented 2 years ago

Summary

Allow setting envar that sets hikari db max lifetime

Problem Definition

NYCB's db setup was seeing some of these errors:

2022-08-01 17:52:39.493 | WARN  | c.z.h.pool.PoolBase                      | DefaultDispatcher-worker-9 | MDC:[] | - HikariPool-1 - Failed to validate connection org.postgresql.jdbc.PgConnection@6db945a1 (This connection has been closed.). Possibly consider using a shorter maxLifetime value.

Proposal

Allow custom configuration of max lifetime db value


For Admin Use