Brakes Versions Save

Hystrix compliant Node.js Circuit Breaker Library

2.4.1

7 years ago

Issue fixed in #60 caused by the globalStat's _rawStream buffering unlimited data when in a paused state due to a consumer disconnect.

2.4.0

7 years ago
  • Added configuration option:

isFailure: function that returns true if an error should be considered a failure (receives the error object returned by your command.) This allows for non-critical errors to be ignored by the circuit breaker

2.3.2

7 years ago
  • Percentage was being mis-reported in error text and in the Hystrix stream. Fixes were made in both spots.

2.3.1

7 years ago
  • Added missing property rollingCountBadRequests to hystrix stats object

2.3.0

7 years ago
  • Added exec event that is fired when every request begins
  • Uses Date.now() instead of new Date().getTime()
  • Various build improvements to improve stability of the project

2.2.0

7 years ago

Added the ability to define slave circuits which allows users to define many different function calls that run on the same circuit.

2.1.0

7 years ago
  • Added new functionality around a healthCheck function to close the circuit based on custom logic.

2.0.2

8 years ago
  • Fixes issue where timeouts weren't being cleared after a resolution or rejection of the base promise.

2.0.1

8 years ago
  • Fixes issue with error percentage reporting when totalCount is 0

2.0.0

8 years ago
  • Fixes terminology errors regarding open vs closed #6
  • Improves stat generation time, which in general increases the performance of the module
  • Added a global stats tracker. Mainly to support hystrix dashboard integration
  • Fixed an edge case that made stats reporting appear inaccurate #10
  • Added support for the naming and grouping of circuit breakers #7
  • Added additional reporting around latency percentiles and latency mean
  • Changed from startDelay to waitThreshold. This means a brakes instance will wait a given number of requests before checking threshold, instead of the ms delay it was waiting before.
  • Added a destroy method to improve memory management and prevent memory leaks
  • Added the isOpen() function for easier public access into the running state of the circuit breaker.