diff options
| author | Jeff Carr <[email protected]> | 2024-10-30 18:09:54 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-30 18:09:54 -0500 |
| commit | eacf3b8bef9801126c5693660acc2d03e3664025 (patch) | |
| tree | 10767cfa7fedabcb77383cb556146fcdfac2db3b /poll.go | |
| parent | bf52632cb79e91703079765cd8a85fc9f4098e92 (diff) | |
events is now c.E
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'poll.go')
| -rw-r--r-- | poll.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -111,7 +111,8 @@ func (h *HyperT) pollHypervisor() { if dur > time.Minute*2 { // what this means is the droplet probably wasn't migrated or the migrate failed // where should this be checked? the status needs to be changed to OFF - log.Info("UNKNOWN state for more than one minute remove map entry here?", name) + s := shell.FormatDuration(dur) + log.Info("UNKNOWN state for more than 2 minutes (clearing out ?)", name, s) // it might be safe to set the status to OFF here. not really. this poll needs // to be moved somewhere else. there needs to be a new goroutine not tied to the |
