Log message when server goes in unhealthy state
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user