From c3a69690eee158e676d7ce7a5aa3088a1dc7fc7a Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 17 Oct 2024 15:29:47 -0500 Subject: clean up logging of initial scan of droplets Signed-off-by: Jeff Carr --- event.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'event.go') diff --git a/event.go b/event.go index 8920bdc..5c26b5d 100644 --- a/event.go +++ b/event.go @@ -23,6 +23,9 @@ func (h *HyperT) RestartDaemon() { dur := time.Since(h.lastpoll) // Calculate the elapsed time log.Info("KILLED DAEMON", h.Hostname, shell.FormatDuration(dur), "curl", url) me.killcount += 1 + + // mark the cluster as unstable so droplet starts can be throttled + me.unstable = time.Now() } var stableTimeout time.Duration = 43 * time.Second -- cgit v1.2.3