Skip to content

Commit bb2b3df

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

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

+5
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,11 @@ public PoolOptions(PoolOptions other) {
119119
maxWaitQueueSize = other.maxWaitQueueSize;
120120
idleTimeout = other.idleTimeout;
121121
idleTimeoutUnit = other.idleTimeoutUnit;
122+
maxLifetime = other.maxLifetime;
123+
maxLifetimeUnit = other.maxLifetimeUnit;
124+
poolCleanerPeriod = other.poolCleanerPeriod;
125+
connectionTimeout = other.connectionTimeout;
126+
connectionTimeoutUnit = other.connectionTimeoutUnit;
122127
shared= other.shared;
123128
name = other.name;
124129
eventLoopSize = other.eventLoopSize;

0 commit comments

Comments
 (0)