Closed dmarkhas closed 3 years ago
This would be very useful for my usecase as well - Since gRPC returns errors to denote 4XX Status codes (e.g. NotFound
) I am getting a lot of false-positives.
@dmarkhas
Sorry for the late reply. Your idea sounds good. But I think IsSuccessful
is more straightforward than ShouldTrip
.
Renamed :)
Thanks, I've addressed your comments.
Thank you!
Is the next version of the package coming out soon (as I am eagerly awaiting this feature) ?
Not all errors should be counted towards tripping the circuit breaker, this PR adds support for a custom inspection strategy to determine if an error should trip the circuit breaker or not.