Skip to content

Commit

Permalink
Skip refresh registry config for internal service (#13134)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbumenJ authored Sep 26, 2023
1 parent bd5d158 commit 4146082
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,11 @@ public ServiceConfig<T> build(Consumer<ServiceConfig<T>> configConsumer){
serviceConfig.setScopeModel(applicationModel.getInternalModule());
serviceConfig.setApplication(applicationConfig);

RegistryConfig registryConfig = new RegistryConfig("N/A");
RegistryConfig registryConfig = new RegistryConfig();
registryConfig.refresh();
registryConfig.setNeedRefresh(false);
registryConfig.setId(this.registryId);
registryConfig.setAddress("N/A");
registryConfig.setScopeModel(this.applicationModel);

serviceConfig.setRegistry(registryConfig);
Expand Down

0 comments on commit 4146082

Please sign in to comment.