Skip to content

Commit

Permalink
fix setSoftMinEvictableIdleTimeMillis
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega committed Apr 15, 2024
1 parent dd94928 commit 3dcbc76
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1117,7 +1117,7 @@ private DataSource createConnectionPool(String destination) throws Exception {
gPool.setMaxIdle(this.maxPoolIdle);
gPool.setMinIdle(this.minPoolIdle);
//gPool.setMaxWait(this.maxPoolWait);
gPool.setMinEvictableIdleTimeMillis(this.maxPoolWait);
gPool.setSoftMinEvictableIdleTimeMillis(this.maxPoolWait);
pools.put(destination, gPool);

// Creates a ConnectionFactory Object Which Will Be Used by the Pool to Create the Connection Object!
Expand Down

0 comments on commit 3dcbc76

Please sign in to comment.