Skip to content

Commit

Permalink
Merge pull request payara#5311 from kalinchan/FISH-380
Browse files Browse the repository at this point in the history
FISH-380 Allow JDBC Connection Pools to set min-size to zero
  • Loading branch information
kalinchan authored and JamesHillyard committed Oct 8, 2021
1 parent a44c233 commit 8c04d18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ public String getIdentity() {
@Override
public String getSteadyPoolSize() {
int minPoolSize = desc.getMinPoolSize();
if (minPoolSize <= 0) {
if (minPoolSize < 0) {
_logger.log(Level.WARNING, "Value of steadyPoolSize Given, {0}, was outside the bounds"
+ ", default value of 8 will be used - PLEASE UPDATE YOUR VALUE", minPoolSize);
minPoolSize = 8;
Expand Down

0 comments on commit 8c04d18

Please sign in to comment.