mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-03 05:20:50 +00:00
perf[module]:没有配置zk服务注册中心 秒速
This commit is contained in:
1 parent
c2842801e1
commit
14aff7b6e7
1 file changed
+1
-1
@@ -132,7 +132,7 @@ public class ZookeeperRegistry implements IRegistry {
|
||||
public void start() {
|
||||
var registryConfig = NetContext.getConfigManager().getLocalConfig().getRegistry();
|
||||
if (Objects.isNull(registryConfig)) {
|
||||
logger.info("服务提供者没有配置,不会在zk中注册服务,如果是单机启动请忽略这条日志");
|
||||
logger.info("没有配置zk服务注册中心,如果是单机启动请忽略这条日志");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user