update
This commit is contained in:
@@ -65,8 +65,6 @@ func (c *Consul) Register(service *myregistry.ServiceInfo) error {
|
|||||||
|
|
||||||
checkTime := time.Second * 15
|
checkTime := time.Second * 15
|
||||||
|
|
||||||
fmt.Println(checkTime.String())
|
|
||||||
|
|
||||||
check := &api.AgentServiceCheck{
|
check := &api.AgentServiceCheck{
|
||||||
CheckID: serviceId,
|
CheckID: serviceId,
|
||||||
TTL: (checkTime*2 + time.Second*10).String(),
|
TTL: (checkTime*2 + time.Second*10).String(),
|
||||||
|
|||||||
Reference in New Issue
Block a user