Skip to content

Commit a2562fd

Browse files
authored
revert one more RateLimiterHelper.GetElapsedTime
1 parent b9cf511 commit a2562fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libraries/System.Threading.RateLimiting/src/System/Threading/RateLimiting/FixedWindowRateLimiter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public sealed class FixedWindowRateLimiter : ReplenishingRateLimiter
3939
private static readonly RateLimitLease FailedLease = new FixedWindowLease(false, null);
4040

4141
/// <inheritdoc />
42-
public override TimeSpan? IdleDuration => Stopwatch.GetElapsedTime(_idleSince);
42+
public override TimeSpan? IdleDuration => RateLimiterHelper.GetElapsedTime(_idleSince);
4343

4444
/// <inheritdoc />
4545
public override bool IsAutoReplenishing => _options.AutoReplenishment;

0 commit comments

Comments
 (0)