This is an automated email from the ASF dual-hosted git repository.
alexstocks pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git
The following commit(s) were added to refs/heads/3.0 by this push:
new 9f822e6e2 change RegistryConfig.TTL default value
9f822e6e2 is described below
commit 9f822e6e283ae72bdebe14f9c7cd34d71fffa0bb
Author: alexstocks <[email protected]>
AuthorDate: Fri Feb 24 10:58:07 2023 +0800
change RegistryConfig.TTL default value
---
config/registry_config.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/registry_config.go b/config/registry_config.go
index facd26729..f7a1168d1 100644
--- a/config/registry_config.go
+++ b/config/registry_config.go
@@ -45,7 +45,7 @@ type RegistryConfig struct {
Timeout string `default:"5s" validate:"required"
yaml:"timeout" json:"timeout,omitempty" property:"timeout"` // unit: second
Group string `yaml:"group" json:"group,omitempty"
property:"group"`
Namespace string `yaml:"namespace"
json:"namespace,omitempty" property:"namespace"`
- TTL string `default:"10s" yaml:"ttl"
json:"ttl,omitempty" property:"ttl"` // unit: minute
+ TTL string `default:"15m" yaml:"ttl"
json:"ttl,omitempty" property:"ttl"`
Address string `validate:"required" yaml:"address"
json:"address,omitempty" property:"address"`
Username string `yaml:"username"
json:"username,omitempty" property:"username"`
Password string `yaml:"password"
json:"password,omitempty" property:"password"`