summaryrefslogtreecommitdiff
path: root/poll.go
diff options
context:
space:
mode:
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