tianxiaoliang commented on code in PR #257:
URL: https://github.com/apache/servicecomb-kie/pull/257#discussion_r950632273
##########
server/service/kv/kv_svc.go:
##########
@@ -301,3 +303,12 @@ func List(ctx context.Context, project, domain string,
options ...datasource.Fin
defer listSema.Release()
return datasource.GetBroker().GetKVDao().List(ctx, project, domain,
options...)
}
+
+func isSyncEnabled(ctx context.Context) bool {
+ val := ctx.Value(CtxSyncEnabled)
Review Comment:
参考下grpc利用context时的编写风格
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]