~egtann/srp

1075977116a05128a68446e4eca59393e9e65acb — Evan Tann 3 months ago b26f377
stop logging successful healthchecks
1 files changed, 3 insertions(+), 1 deletions(-)

M proxy.go
M proxy.go => proxy.go +3 -1
@@ 291,7 291,9 @@ func (r *ReverseProxy) CheckHealth() error {
		}
		host := newReg.Services[check.host]
		host.liveBackends = append(host.liveBackends, check.ip)
		r.log.Printf("check health: %s 200 OK", check.ip)

		// Uncomment to log successful health-checks
		// r.log.Printf("check health: %s 200 OK", check.ip)
	}

	// Determine if the registry changed. If it's the same as before, we