You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the HikariCP documentation on IdleTimeout
This setting only applies when minimumIdle is defined to be less than maximumPoolSize.
and since there is no mechanism in PuppetDB to set minimumIdle (the minimum number of idle connections that HikariCP tries to maintain in the pool), and this setting is not set to anything by PuppetDB and in HikariCP defaults to the same as maximumPoolSize
Default: same as maximumPoolSize
I suggest that conn-max-age is redundant as it does nothing. But maybe I've misread the code somewhere.
The text was updated successfully, but these errors were encountered:
The
conn-max-age
setting is described in the PuppetDB docs asIn the code it is used, (under some condition at least), to set the connection pool's
IdleTimeout
puppetdb/src/puppetlabs/puppetdb/jdbc.clj
Lines 596 to 597 in 2c2efc9
According to the
HikariCP
documentation onIdleTimeout
and since there is no mechanism in PuppetDB to set
minimumIdle
(the minimum number of idle connections that HikariCP tries to maintain in the pool), and this setting is not set to anything by PuppetDB and inHikariCP
defaults to the same asmaximumPoolSize
I suggest that
conn-max-age
is redundant as it does nothing. But maybe I've misread the code somewhere.The text was updated successfully, but these errors were encountered: