summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-27 02:29:45 -0500
committerJeff Carr <[email protected]>2024-10-27 02:29:45 -0500
commitd0767eb9843fcdb9ab0e73200d8a9516e28c200c (patch)
treeca89594578c692211753e1d988c01c9aedcd3ba3 /structs.go
parent5d1729f99ba8968900eaaaa38f74f327730fffd4 (diff)
validate stuff should be here
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/structs.go b/structs.go
index 8365629..81d4d00 100644
--- a/structs.go
+++ b/structs.go
@@ -28,7 +28,8 @@ type virtigoT struct {
killcount int
unstable time.Time // the last time the cluster was incorrect
changed bool
- unstableTimeout time.Duration
+ unstableTimeout time.Duration // how long a droplet can be missing until it's declared dead
+ clusterStableDuration time.Duration // how long the cluster must be stable before new droplets can be started
}
// the stuff that is needed for a hypervisor