Log message when server goes in unhealthy state
This commit is contained in:
parent
dd477e8d66
commit
738abce861
@ -51,6 +51,7 @@ func start_death_timer() {
|
||||
helper.TTL--
|
||||
if helper.TTL == 0 {
|
||||
api.Server_Status = "Unhealthy"
|
||||
log.Printf("Server Staus change to %s", api.Server_Status)
|
||||
if helper.HARDFAIL != true {
|
||||
for {
|
||||
time.Sleep(time.Second)
|
||||
|
Loading…
Reference in New Issue
Block a user