Closed WillianAgostini closed 1 month ago
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
lib/circuit.js | 1 | 98.49% | ||
<!-- | Total: | 1 | --> |
Totals | |
---|---|
Change from base Build 11481851974: | 0.06% |
Covered Lines: | 402 |
Relevant Lines: | 403 |
Could you also update the README in the abort controller section mentioning this new feature?
I've added a new commit that updates the README in the abort controller section
Introducing a new option to the CircuitBreaker:
autoRenewAbortController
. When enabled, this flag automatically recreates the AbortController whenever the CircuitBreaker state transitions to 'halfOpen' or 'closed'. This ensures the controller is reset and ready for reuse in subsequent state changes.Closes #861