Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[IMPROVED] Server pool is updated based on server notifications #344

Merged
merged 1 commit into from Mar 1, 2018

Commits on Feb 27, 2018

  1. [IMPROVED] Server pool is updated based on server notifications

    The server pool was only growing when new servers were discovered.
    Now, the client library updates its server pool based on server's
    INFO protocols (true for server 1.0.6+).
    The DiscoveredServersCB is still invoked only when new servers
    are added (as in never seen as opposed to added back after leaving
    the cluster).
    
    The code should work ok with older servers but will take advantage
    of changes in the server (nats-io/nats-server#626)
    kozlovic committed Feb 27, 2018
    Copy the full SHA
    82fff71 View commit details
    Browse the repository at this point in the history