Update HikariConfig.java

pull/1135/head
Brett Wooldridge 7 years ago committed by GitHub
parent 07e9e41dca
commit 4e6bd83fb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1030,6 +1030,10 @@ public class HikariConfig implements HikariConfigMXBean
if (minIdle < 0 || minIdle > maxPoolSize) {
minIdle = maxPoolSize;
}
if (idleTimeout != IDLE_TIMEOUT && idleTimeout != 0 && minIdle == maxPoolSize) {
LOGGER.warn("{} - idleTimeout has been set but has no effect because the pool is operating as a fixed size pool.");
}
}
@SuppressWarnings("StatementWithEmptyBody")

Loading…
Cancel
Save