Skip to content

Commit

Permalink
feat: add notes consul service
Browse files Browse the repository at this point in the history
  • Loading branch information
arturmon committed Feb 23, 2024
1 parent ca27078 commit a5e8c2b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/pkg/consul/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,19 @@ func (s *Service) registerService() {
HTTP: fmt.Sprintf("http://%s:%v/health/readiness", ip, port),
Interval: "3s",
Timeout: "30s",
Notes: "readiness probe",
},
{
HTTP: fmt.Sprintf("http://%s:%v/health/liveness", ip, port),
Interval: "10s",
Timeout: "30s",
Notes: "liveness probe",
},
{
DeregisterCriticalServiceAfter: ttl.String(),
TLSSkipVerify: true,
TTL: ttl.String(),
Notes: "TTL probe",
//CheckID: checkID,
},
}
Expand Down

0 comments on commit a5e8c2b

Please sign in to comment.