Changelog
Added/Changed
AllowCloseRetry
option to be able to retry connectionClose()
on failure. In PR #360, a failedClose()
would cause the underlying NATS connection to not be closed, which could have undesired behavior for users that did not checkClose()
status and would not call it again until success. Adding this new option restores original behavior by default, and forces users to use this option to change the behavior of connectionClose()
, with the understanding of the possible side effect (#361)