-
Notifications
You must be signed in to change notification settings - Fork 346
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
Master sync java enhancement #617
Master sync java enhancement #617
Conversation
KomachiSion
commented
May 25, 2023
- Set success as True when ack push success.
- Same as java client, default close async update service by query.
Codecov ReportPatch coverage has no change and project coverage change:
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. Additional details and impacted files@@ Coverage Diff @@
## master #617 +/- ##
==========================================
- Coverage 30.66% 30.09% -0.57%
==========================================
Files 40 40
Lines 3059 3060 +1
==========================================
- Hits 938 921 -17
- Misses 2055 2072 +17
- Partials 66 67 +1
☔ View full report in Codecov by Sentry. |
@@ -77,7 +77,9 @@ func NewNamingClient(nc nacos_client.INacosClient) (*NamingClient, error) { | |||
|
|||
naming.serviceProxy, err = NewNamingProxyDelegate(ctx, clientConfig, serverConfig, httpAgent, naming.serviceInfoHolder) | |||
|
|||
go NewServiceInfoUpdater(ctx, naming.serviceInfoHolder, clientConfig.UpdateThreadNum, naming.serviceProxy).asyncUpdateService() | |||
if clientConfig.AsyncUpdateService { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里是准备 默认关闭客户端更新服务实例的逻辑对吧?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Java2.1版本加了开关,默认是打开, 2.2开关默认是关闭的。
后续应该这个逻辑会保留,通过开关打开。