-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the Pub/Sub implementation to fix unit tests and not have a singl…
…eton. Problem: The original design of the sentinel with Pub/Sub to the switch-master message broke the last unit test because it was always connected to the previously successful servers. Analysis: In order to not have always stay connected to the old servers the subscription to the Pub/Sub message needs to only occur when the successful connect occurs.
- Loading branch information
Showing
1 changed file
with
29 additions
and
25 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