-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: initialize jetstream cluster asynchronously
The problem is that JetStream requires network conenctivity to finalize cluster setup, and we rely on health checks to activate instances, we must make WS server ready independently of embedded NATS status. This commit moves WaitJetStreamReady to a go routine and refactors NATS broker to handle possible not-yet-ready JetStream cluster by deferring some operations
- Loading branch information
Showing
10 changed files
with
263 additions
and
82 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
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
Oops, something went wrong.