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

是否可以提供支持自定义SC的自身实例TTL的能力 #1445

Open
colin-si opened this issue Jan 2, 2024 · 0 comments
Open

是否可以提供支持自定义SC的自身实例TTL的能力 #1445

colin-si opened this issue Jan 2, 2024 · 0 comments

Comments

@colin-si
Copy link

colin-si commented Jan 2, 2024

Is your feature request related to a problem? Please describe.
当前SC自身实例的TTL周期固定为30*(3+1),是否可以将该配置开放出去,支持可以根据自身系统的具体情况进行配置。比如说,当前实例下线时间配置成了2min,当SC发生重启时,有可能在2min内会查询到多个SC的实例信息,存在新老实例并存的问题。如果说配置开放出去的话,可以根据在不同系统下SC的重启时间配置对应的TTL时间来解决或者降低对应问题出现的概率。

https://github.com/apache/servicecomb-service-center/blob/9ecab25a509057a3bfe8ab967b754562b6bff52b/server/core/microservice.go#L41C28-L41C28

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

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

No branches or pull requests

1 participant