You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ManagedCode.Orleans.RateLimiting.Core/Attributes/FixedWindowRateLimiterAttribute.cs
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,8 @@ public class FixedWindowRateLimiterAttribute : Attribute, ILimiterAttribute<Fixe
15
15
/// </summary>
16
16
/// <param name="keyType">What key to use to identify RateLimiting, can be overridden by setting key property</param>
17
17
/// <param name="key">Custom string as key for RateLimiting</param>
18
-
/// <param name="window">
19
-
/// Specifies the time window that takes in the requests.
18
+
/// <param name="windowInSeconds">
19
+
/// Specifies the time window that takes in the requests in seconds.
20
20
/// Must be set to a value greater than <see cref="TimeSpan.Zero" /> by the time these options are passed to the constructor of <see cref="FixedWindowRateLimiter"/>.
21
21
/// </param>
22
22
/// <param name="permitLimit">
@@ -33,7 +33,7 @@ public class FixedWindowRateLimiterAttribute : Attribute, ILimiterAttribute<Fixe
33
33
/// </param>
34
34
/// <param name="queueProcessingOrder">Determines the behaviour of <see cref="RateLimiter.AcquireAsync"/> when not enough resources can be leased.</param>
Copy file name to clipboardExpand all lines: ManagedCode.Orleans.RateLimiting.Core/Attributes/SlidingWindowRateLimiterAttribute.cs
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,8 @@ public class SlidingWindowRateLimiterAttribute : Attribute, ILimiterAttribute<Sl
15
15
/// </summary>
16
16
/// <param name="keyType">What key to use to identify RateLimiting, can be overridden by setting key property</param>
17
17
/// <param name="key">Custom string as key for RateLimiting</param>
18
-
/// <param name="window">
19
-
/// Specifies the time window that takes in the requests.
18
+
/// <param name="windowinSeconds">
19
+
/// Specifies the time window that takes in the requests in seconds.
20
20
/// Must be set to a value greater than <see cref="TimeSpan.Zero" /> by the time these options are passed to the constructor of <see cref="SlidingWindowRateLimiter"/>.
21
21
/// </param>
22
22
/// <param name="permitLimit">
@@ -37,7 +37,7 @@ public class SlidingWindowRateLimiterAttribute : Attribute, ILimiterAttribute<Sl
37
37
/// </param>
38
38
/// <param name="queueProcessingOrder">Determines the behaviour of <see cref="RateLimiter.AcquireAsync"/> when not enough resources can be leased.</param>
Copy file name to clipboardExpand all lines: ManagedCode.Orleans.RateLimiting.Core/Attributes/TokenBucketRateLimiterAttribute.cs
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -15,8 +15,8 @@ public class TokenBucketRateLimiterAttribute : Attribute, ILimiterAttribute<Toke
15
15
/// </summary>
16
16
/// <param name="keyType">What key to use to identify RateLimiting, can be overridden by setting key property</param>
17
17
/// <param name="key">Custom string as key for RateLimiting</param>
18
-
/// <param name="replenishmentPeriod">
19
-
/// Specifies the minimum period between replenishments.
18
+
/// <param name="replenishmentPeriodInSeconds">
19
+
/// Specifies the minimum period between replenishments in seconds.
20
20
/// Must be set to a value greater than <see cref="TimeSpan.Zero" /> by the time these options are passed to the constructor of <see cref="TokenBucketRateLimiter"/>.
21
21
/// </param>
22
22
/// <param name="tokensPerPeriod">
@@ -37,7 +37,7 @@ public class TokenBucketRateLimiterAttribute : Attribute, ILimiterAttribute<Toke
37
37
/// </param>
38
38
/// <param name="queueProcessingOrder">Determines the behaviour of <see cref="RateLimiter.AcquireAsync"/> when not enough resources can be leased.</param>
0 commit comments