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

[#1365] add router config to config-center can not be load when consumer service already started #1366

Merged
merged 2 commits into from
Aug 16, 2024

Conversation

chengyouling
Copy link
Collaborator

@chengyouling chengyouling commented Aug 14, 2024

配合CSE平台实现nacos自动灰度能力场景:
当客户端先启动时,平台部署服务端并下发路由配置至nacos配置中心,此时客户端无法加载到该路由配置,因为客户端启动时没有该配置的dataId监听

@chengyouling chengyouling self-assigned this Aug 14, 2024
}

public void schedulerCheckLabelRouterConfig() {
taskScheduler.scheduleWithFixedDelay(this::checkLabelRouterConfig, Duration.ofMillis(15000));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

改成一个配置项,默认值调大一点,改成30s,减少服务端压力

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@chengyouling chengyouling merged commit 9c898da into huaweicloud:master Aug 16, 2024
1 check passed
chengyouling added a commit that referenced this pull request Aug 16, 2024
chengyouling added a commit that referenced this pull request Aug 16, 2024
@chengyouling chengyouling deleted the master-listten branch August 20, 2024 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants