awolden / brakes

Hystrix compliant Node.js Circuit Breaker Library
MIT License
300 stars 35 forks source link

Slave circuits #33

Closed awolden closed 8 years ago

awolden commented 8 years ago

This is a PR based of #30. Implements a new idea of slave circuits based on work done by @peter-vdc.

Exposes the ability to create a Brakes instance with out a function. That instance can then be used as a container for n-number of slave circuits. The slave circuits will all report to a central reporting class, and they will all be tripped at the same time if the overall health of the slaveCircuits decreases.

See updated readme and previous PR (#30) for more information.

peter-vdc commented 8 years ago

I really like what you did with it. Looking forward to pull it into the project after my hollydays.

jquatier commented 8 years ago

This looks good to me 👍