apache / dubbo-admin

The ops and reference implementation for Apache Dubbo
https://dubbo.apache.org
Apache License 2.0
4k stars 2.17k forks source link

Fix the problem of slow service startup. #1036

Closed wuwen5 closed 1 year ago

wuwen5 commented 1 year ago

What is the purpose of the change

ServiceMappingbean实例化的时候调用listenerAll, 在服务多时,导致启动非常慢(nacos注册中心)。 NacosServiceMapping中我看正好已有一个定时器,我想应该在定时器中加载更合适。

Brief changelog

XX

Verifying this change

XXXX

Follow this checklist to help us incorporate your contribution quickly and easily:

sonarcloud[bot] commented 1 year ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug C 7 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot E 4 Security Hotspots
Code Smell A 185 Code Smells

No Coverage information No Coverage information
2.8% 2.8% Duplication