Any way to turn throttling retries off? #1542
Unanswered
Amwins-Vault-Boy
asked this question in
Q&A
Replies: 1 comment
-
@Amwins-Vault-Boy : https://pnp.github.io/pnpcore/using-the-sdk/basics-settings.html documents the related options. Would recommend with trying to set UseRetryAfterHeader to false, MaxRetries to 0 and DelayInSeconds to 0. See https://github.com/pnp/pnpcore/blob/dev/src/sdk/PnP.Core/Services/Core/Http/RetryHandlerBase.cs. Also, the Microsoft 365 Assessment tool uses EventHub, might be a good sample? https://github.com/pnp/pnpassessment/blob/main/src/PnP.Scanning/PnP.Scanning.Core/Services/ScanManager.cs#L40-L53 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm going to look at the EventHub, but is there a configuration setting that would allow the automatic retry mechanism to be turned off in favor of just throwing the 429 exception from SP?
Beta Was this translation helpful? Give feedback.
All reactions