App-vNext / Polly

Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. From version 6.0.1, Polly targets .NET Standard 1.1 and 2.0+.
https://www.thepollyproject.org
BSD 3-Clause "New" or "Revised" License
13.44k stars 1.23k forks source link

Add polly policies at runtime #828

Closed abhisheknaudiyal1990 closed 1 year ago

abhisheknaudiyal1990 commented 3 years ago

Summary: What are you wanting to achieve?



Is there a way to add or remove a policy inside a PolicyWrap at runtime. Eg - We want to check if there is already a fallback, retry or timeout policy, then do not add respective new policy. If they are not already present inside PolicyWrap, then add to it. I'm wondering if we can achieve similar thing without using PolicyWrap.
Thanks in advance,



github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 60 days with no activity. It will be automatically closed in 14 days if no further updates are made.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.