Skip to content

Commit

Permalink
Turned on Rate-Limiting by default with a remaining limit percentage …
Browse files Browse the repository at this point in the history
…of 10%
  • Loading branch information
jansenbe committed Nov 19, 2024
1 parent b4caa1b commit f4979c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- Ensure that for first party web parts that support full bleed we set the SupportsFullBleed flag #1554 [jansenbe - Bert Jansen]
- Doing a People Search Using PnP Core Search API - Blocked with Readonly Setter for ResultSourceId #1566 [jansenbe - Bert Jansen]
- Switched to default CK5 editor type for new pages + improved the inline image handling for the CK5 editor #1558 [jansenbe - Bert Jansen]
- Turned on Rate-Limiting by default with a remaining limit percentage of 10% [jansenbe - Bert Jansen]

## [1.14]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ public class PnPCoreHttpRequestsOptions
/// <summary>
/// When set (e.g. to 10%) then RateLimit response headers coming from SharePoint and Graph are used: if there's less
/// then the set value (e.g. 10%) capacity left before getting throttled the pending request will be delayed until
/// the 1 minute window is reset. Defaults to 0 (disabled).
/// the 1 minute window is reset. Defaults to 10, set to 0 to disable.
/// </summary>
public int RateLimiterMinimumCapacityLeft { get; set; } = 0;
public int RateLimiterMinimumCapacityLeft { get; set; } = 10;

/// <summary>
/// SharePoint Online REST options
Expand Down

0 comments on commit f4979c1

Please sign in to comment.