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

After the console changes configuration files, NacosConfigService is created each time without being destroyed #912

Closed
YoungL-SC opened this issue Sep 4, 2019 · 2 comments
Labels
area/nacos spring cloud alibaba nacos

Comments

@YoungL-SC
Copy link

Nacos version:1.1.3
client version:1.0.0

dependency: 'org.springframework.cloud:spring-cloud-alibaba-nacos-config:0.9.0.RELEASE'

description as below:

NacosConfigService will be rebuilt every time the configuration file is changed in the console. After hundreds of configuration changes, the CPU will burst due to too many ClientWorker threads created.The NacosConfigService classe is not manually created。

image

Maybe problem is in the class org.springframework.cloud.alibaba.nacos.NacosConfigProperties,because springcloud will refresh class with annotation @ConfigurationProperties,this class will be rebuilt after every refresh phase.

image

image

@YoungL-SC YoungL-SC changed the title NacosConfigService will be rebuilt every time after the configuration file is changed After the console changes configuration files, NacosConfigService is created each time without being destroyed Sep 4, 2019
@fangjian0423
Copy link
Contributor

related #859

@fangjian0423 fangjian0423 added the area/nacos spring cloud alibaba nacos label Sep 4, 2019
@fangjian0423
Copy link
Contributor

resolved by #909.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/nacos spring cloud alibaba nacos
Projects
None yet
Development

No branches or pull requests

2 participants