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
Because we can now disable bulkheads or circuit_breakers for a protected_resource, we should raise an exception trying to access methods of a nil delegate.
For example, with bulkhead: false, resource.count should raise a BulkheadDisabledError rather than a NoMethodError kinda thing.
We should also add something to the docs that recommends using resource.bulkhead.count over resource.count.
Because we can now disable bulkheads or circuit_breakers for a protected_resource, we should raise an exception trying to access methods of a nil delegate.
For example, with
bulkhead: false
,resource.count
should raise aBulkheadDisabledError
rather than aNoMethodError
kinda thing.We should also add something to the docs that recommends using
resource.bulkhead.count
overresource.count
.cc @sirupsen @csfrancis
The text was updated successfully, but these errors were encountered: