Skip to content

Commit

Permalink
Fix incorrect TrafficShapingOptions field assignment in setCheckInter…
Browse files Browse the repository at this point in the history
…valForStatsTimeUnit - see #4875
  • Loading branch information
vietj committed Oct 6, 2023
1 parent c2aefb1 commit 39293ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/vertx/core/net/TrafficShapingOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public TrafficShapingOptions setCheckIntervalForStats(long checkIntervalForStats
* @return a reference to this, so the API can be used fluently
*/
public TrafficShapingOptions setCheckIntervalForStatsTimeUnit(TimeUnit checkIntervalForStatsTimeUnit) {
this.maxDelayToWaitTimeUnit = maxDelayToWaitTimeUnit;
this.maxDelayToWaitTimeUnit = checkIntervalForStatsTimeUnit;
return this;
}

Expand Down

0 comments on commit 39293ff

Please sign in to comment.