diff options
| author | Jeff Carr <[email protected]> | 2024-10-22 19:57:49 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-22 19:57:49 -0500 |
| commit | a3ea303ab86e5db6510a00e373b6e7a6620d426a (patch) | |
| tree | f0781a55a2dc06b9fb72566aba7d133aff330d62 /structs.go | |
| parent | 5b99a88e0607426e3651ef1526809c84ede8301a (diff) | |
global hypervisor poll delay
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,6 +24,7 @@ type virtigoT struct { names []string hypers []*HyperT droplets []*DropletT + delay time.Duration // how often to poll the hypervisors killcount int unstable time.Time // the last time the cluster was incorrect } @@ -31,8 +32,7 @@ type virtigoT struct { // the stuff that is needed for a hypervisor type HyperT struct { pb *pb.Hypervisor // the Hypervisor protobuf - Delay time.Duration // how often to poll the hypervisor - Dog *time.Ticker // the watchdog timer itself + dog *time.Ticker // the watchdog timer itself lastpoll time.Time // the last time the hypervisor polled killcount int } |
