You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using a 2 level cache, MemoryCache + Redis with the FailSafe option enabled.
I don't want my DefaultFailSafe value to be cached at all - which means i need to set the FailSafeThrottleDuration to TimeSpan.Zero.
I still want to add jitter for the caching duration of non-default values.
It seems like jitter is also applied to to the FailSafeThrottleDuration - which is unexpected and in my case undesired behavior.
To Reproduce
In my opinion this should not throw an exception (but it does):
Describe the bug
I'm using a 2 level cache, MemoryCache + Redis with the FailSafe option enabled.
FailSafeThrottleDuration
toTimeSpan.Zero
.It seems like jitter is also applied to to the
FailSafeThrottleDuration
- which is unexpected and in my case undesired behavior.To Reproduce
In my opinion this should not throw an exception (but it does):
Expected behavior
I would have expected the code above to perform identically to this code:
Versions
I've encountered this issue on:
The text was updated successfully, but these errors were encountered: