Log message when server goes in unhealthy state
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Janic Voser 2023-03-12 00:41:13 +01:00
parent dd477e8d66
commit 738abce861

View File

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