Skip to content

Commit 459283d

Browse files
authored
PoolOptions copy constructor doesn't copy all fields (#1502)
See #1501 Signed-off-by: Thomas Segismont <[email protected]>
1 parent cfa375f commit 459283d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

vertx-sql-client/src/main/java/io/vertx/sqlclient/PoolOptions.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,11 @@ public PoolOptions(PoolOptions other) {
118118
maxWaitQueueSize = other.maxWaitQueueSize;
119119
idleTimeout = other.idleTimeout;
120120
idleTimeoutUnit = other.idleTimeoutUnit;
121+
maxLifetime = other.maxLifetime;
122+
maxLifetimeUnit = other.maxLifetimeUnit;
123+
poolCleanerPeriod = other.poolCleanerPeriod;
124+
connectionTimeout = other.connectionTimeout;
125+
connectionTimeoutUnit = other.connectionTimeoutUnit;
121126
shared= other.shared;
122127
name = other.name;
123128
eventLoopSize = other.eventLoopSize;

0 commit comments

Comments
 (0)