SHARE
TWEET

Untitled

a guest Apr 24th, 2019 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Break the circuit after the specified number of consecutive exceptions
  2. // and keep circuit broken for the specified duration.
  3. Policy
  4.     .Handle<SomeExceptionType>()
  5.     .CircuitBreaker(2, TimeSpan.FromMinutes(1
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top