if minimumIdle > maxPoolSize, no need to set maxPoolSize too

pull/484/head
Nitin 9 years ago
parent b52a1e3092
commit bcd5c230e2

@ -788,7 +788,7 @@ public class HikariConfig implements HikariConfigMXBean
}
if (minIdle < 0 || minIdle > maxPoolSize) {
minIdle = maxPoolSize;
maxPoolSize = minIdle;
}
if (maxLifetime < 0) {

Loading…
Cancel
Save