FixedWindowRateLimiterOptions.AutoReplenishment 属性

定义

指定 是自动刷新计数器,还是 FixedWindowRateLimiter 其他人将调用 TryReplenish() 来刷新计数器。

public bool AutoReplenishment { get; set; }
member this.AutoReplenishment : bool with get, set
Public Property AutoReplenishment As Boolean

属性值

默认值为 true

适用于