Skip to content

Commit 39293ff

Browse files
committed
Fix incorrect TrafficShapingOptions field assignment in setCheckIntervalForStatsTimeUnit - see #4875
1 parent c2aefb1 commit 39293ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/vertx/core/net/TrafficShapingOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public TrafficShapingOptions setCheckIntervalForStats(long checkIntervalForStats
127127
* @return a reference to this, so the API can be used fluently
128128
*/
129129
public TrafficShapingOptions setCheckIntervalForStatsTimeUnit(TimeUnit checkIntervalForStatsTimeUnit) {
130-
this.maxDelayToWaitTimeUnit = maxDelayToWaitTimeUnit;
130+
this.maxDelayToWaitTimeUnit = checkIntervalForStatsTimeUnit;
131131
return this;
132132
}
133133

0 commit comments

Comments
 (0)