diff --git a/consul/discovery.go b/consul/discovery.go index 749f444..d273622 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -31,7 +31,7 @@ func NewService(serverAddr, appID, appName, ip, domain string, appPort int) (*Se s.Address = domain s.IP = ip s.Port = appPort - s.TTL = time.Second * 14 + s.TTL = time.Second * 15 client, err := consul.NewClient(newClientConfig(serverAddr)) if err != nil {