summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-22 19:57:49 -0500
committerJeff Carr <[email protected]>2024-10-22 19:57:49 -0500
commita3ea303ab86e5db6510a00e373b6e7a6620d426a (patch)
treef0781a55a2dc06b9fb72566aba7d133aff330d62 /main.go
parent5b99a88e0607426e3651ef1526809c84ede8301a (diff)
global hypervisor poll delay
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.go b/main.go
index 0ba073a..169dcf5 100644
--- a/main.go
+++ b/main.go
@@ -35,6 +35,9 @@ func main() {
// initialize the grid as unstable
me.unstable = time.Now()
+ // how often to poll the hypervisors
+ me.delay = 5 * time.Second
+
/*
log.Info("command line hypervisors:", argv.Hosts)
for _, name := range argv.Hosts {