Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbumenJ committed Feb 21, 2024
1 parent db1373b commit 87574c5
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,8 @@ public void addInvalidateInvoker(Invoker<T> invoker) {
// 3. try start check connectivity task
checkConnectivity();

logger.info("The invoker " + invoker.getUrl() + " has been added to invalidate list due to connectivity problem. "
logger.info("The invoker " + invoker.getUrl()
+ " has been added to invalidate list due to connectivity problem. "
+ "Will trying to reconnect to it in the background.");
}
});
Expand Down Expand Up @@ -400,10 +401,10 @@ public void checkConnectivity() {
*/
public void refreshInvoker() {
LockUtils.safeLock(invokerRefreshLock, 60_000, () -> {
if (invokersInitialized) {
refreshInvokerInternal();
}
});
if (invokersInitialized) {
refreshInvokerInternal();
}
});
MetricsEventBus.publish(
RegistryEvent.refreshDirectoryEvent(applicationModel, getSummary(), getDirectoryMeta()));
}
Expand Down

0 comments on commit 87574c5

Please sign in to comment.