summaryrefslogtreecommitdiff
path: root/poll.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-27 07:06:12 -0500
committerJeff Carr <[email protected]>2024-10-27 07:06:12 -0500
commit7288595efc0c029adf33f7b3edd4627810ccb0ca (patch)
tree4384562f7084b56ba6040f21cca7d21453d3d511 /poll.go
parent212b582060107d8e64ca9dbe8e194cc922e460fa (diff)
start spice/vnc ports at 5900 and skip 6000
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'poll.go')
-rw-r--r--poll.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/poll.go b/poll.go
index c0ae08f..3e9caa7 100644
--- a/poll.go
+++ b/poll.go
@@ -124,7 +124,7 @@ func clusterHealthy() (bool, string) {
missing = append(missing, d)
} else {
dur := time.Since(d.LastPoll.AsTime()) // Calculate the elapsed time
- if dur > time.Minute {
+ if dur > me.missingDropletTimeout {
log.Info("GOOD STATE MISSING", d.Hostname, hname, shell.FormatDuration(dur))
good = false
d.CurrentState = pb.DropletState_UNKNOWN