These are chat archives for request/request

14th
Sep 2016
Ryan Cannon
@Ry7n
Sep 14 2016 01:20
I'm curious if anyone's used / implemented a circuit breaker for request failures, either in request or request-promise.

I'd love to do something like

request.defaults({
  circuitBreaker: new CircuitBreaker(options)
});

And have that fail with a CircuitBreakerClosedError.