Skip to content

Commit

Permalink
fix: changed documentation description for AdaptiveThrottlingOptions …
Browse files Browse the repository at this point in the history
…and SetupAdaptiveThrottling extension
  • Loading branch information
kulbachnyi.v committed Jan 9, 2024
1 parent 3dca1f8 commit 404f615
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public static void SetupAdaptiveThrottling(
/// Sets up an adaptive client throttling mechanism with given options.
/// </summary>
/// <param name="configuration">A configuration to be modified.</param>
/// <param name="optionsBuilder">See <see cref="AdaptiveThrottlingOptionsBuilder"/> </param>
/// <param name="optionsBuilder">See <see cref="IAdaptiveThrottlingOptionsBuilder"/> </param>
public static void SetupAdaptiveThrottling(
this IClusterClientConfiguration configuration,
Action<IAdaptiveThrottlingOptionsBuilder> optionsBuilder)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class AdaptiveThrottlingOptions
/// <param name="maximumRejectProbability">A cap on the request rejection probability to prevent eternal rejection.</param>
/// <exception cref="ArgumentNullException"><paramref name="storageKey"/> is null.</exception>
/// <exception cref="ArgumentOutOfRangeException"><paramref name="minutesToTrack"/>, <paramref name="criticalRatio"/> or <paramref name="maximumRejectProbability"/> does not lie in expected range.</exception>
[Obsolete("This constructor is obsolete. Instead use AdaptiveThrottlingOptionsBuilder for set more correct settings", false)]
[Obsolete("This constructor is obsolete. Instead use constructor without storageKey parameter", false)]
public AdaptiveThrottlingOptions(
[NotNull] string storageKey,
int minutesToTrack = ClusterClientDefaults.AdaptiveThrottlingMinutesToTrack,
Expand Down

0 comments on commit 404f615

Please sign in to comment.