Skip to content

RateLimit support in PnP.Core? #1026

Answered by jansenbe
AndersRask asked this question in Ideas
Discussion options

You must be logged in to vote

@AndersRask : RateLimit support is integrated in PnP Core SDK (https://github.com/pnp/pnpcore/blob/dev/src/sdk/PnP.Core/Services/Core/Http/RateLimiter.cs), but it's off by default. You can turn it on via the RateLimiterMinimumCapacityLeft configuration option (see https://pnp.github.io/pnpcore/using-the-sdk/basics-settings.html). I still need to beter document this feature, you can use the built-in functionality via the configuration option, but you can also opt to receive an event and handle the headers in your application. The Microsoft 365 Assessment tool uses that model as it combines PnP Core SDK with the CSOM libraries. See https://github.com/pnp/pnpassessment/blob/main/src/PnP.Scan…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@AndersRask
Comment options

@jansenbe
Comment options

@AndersRask
Comment options

Answer selected by AndersRask
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants