-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enter halfOpen state on reinitialization if required (#720)
* feat: enter halfOpen state on reinitialization if required When a circuit is reinitialized with state from a previous instance, if the previous circuit was closed but the reset timeout has passed since reinitialization, the circuit should enter halfOpen immediately. Fixes: #719 Signed-off-by: Lance Ball <lball@redhat.com> * fixup: use Object.prototype.hasOwnProperty.call() Node.js 14 does not support Object.hasOwn(), so tests need to use the older/deprecated(?) hasOwnProperty(). Signed-off-by: Lance Ball <lball@redhat.com> Signed-off-by: Lance Ball <lball@redhat.com>
- Loading branch information
Showing
2 changed files
with
56 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters