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

set serviceMap for lightCluster after first time service discovery #730

Closed
GavinChenYan opened this issue Jun 22, 2020 · 2 comments
Closed

Comments

@GavinChenYan
Copy link
Contributor

In the LightCluster, it will try to get the service urls by service Id from serviceMap cache

    List<URL> urls = serviceMap.get(serviceId);

If it is not existing, go to consulRegistry to do service discovery.

But the discovery result should be set to serviceMap cache.

GavinChenYan added a commit that referenced this issue Jun 22, 2020
stevehu pushed a commit that referenced this issue Jun 23, 2020
@stevehu
Copy link
Contributor

stevehu commented Jun 23, 2020

@stevehu
Copy link
Contributor

stevehu commented Jun 23, 2020

younggwon1 pushed a commit to younggwon1/light-4j that referenced this issue Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants