register fix
This commit is contained in:
parent
e0a18538d4
commit
128e3db0b6
@ -81,7 +81,7 @@ func (s *Service) Register() error {
|
||||
}()
|
||||
|
||||
go func() { // TTL
|
||||
ticker := time.NewTicker(s.TTL)
|
||||
ticker := time.NewTicker(s.TTL - 3)
|
||||
for range ticker.C {
|
||||
s.healthCheck()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user