You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Changelog
Added/Changed
AllowCloseRetry option to be able to retry connection Close() on failure. In PR #360, a failed Close() would cause the underlying NATS connection to not be closed, which could have undesired behavior for users that did not check Close() 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 connection Close(), with the understanding of the possible side effect (#361)