little-cui commented on a change in pull request #368: Modify connection etcd
timeout configurable
URL:
https://github.com/apache/incubator-servicecomb-service-center/pull/368#discussion_r192685972
##########
File path: server/infra/registry/registry.go
##########
@@ -27,9 +27,15 @@ import (
)
var defaultRegistryConfig Config
+var err error
func init() {
defaultRegistryConfig.ClusterAddresses =
beego.AppConfig.DefaultString("manager_cluster", "sc-0=http://127.0.0.1:2380")
+ requestTimeConfig := beego.AppConfig.DefaultString("registry_timeout",
"30s")
Review comment:
please ref to server/core/config.go
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services