This commit is contained in:
Piotr Biernat 2022-12-01 08:36:44 +01:00
parent 840974be0c
commit 67f43f98cb

View File

@ -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 {