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

go服务注册到nacos上,大概隔个一分钟不到,健康实例数会变0 #556

Closed
ljx870923001 opened this issue Jan 12, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ljx870923001
Copy link

ljx870923001 commented Jan 12, 2023

go服务注册到nacos上,不超过一分钟,健康实例数会变0,然后隔个几秒钟健康实例又正常了,看了sdk的心跳日志,有发心跳,但是过一段时间就会停止心跳并注销实例,我注释了一行代码,就好了,不知道这是不是Bug,注释的代码https://github.com/nacos-group/nacos-sdk-go/blob/v1.1.3/clients/naming_client/beat_reactor.go 第74行代码注释掉就没有这个问题了
image

@binbin0325 binbin0325 self-assigned this Jan 12, 2023
@binbin0325 binbin0325 added the bug Something isn't working label Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants