From 6fcb646ca52a3b3195aeb5c4b85c60c6869ed83f Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Sat, 3 Jan 2015 20:39:39 -0800 Subject: [PATCH] Set sync frequency during integration Without this, the sync loop runs continuously. IMO: This right here is why open structs are inferior to explicity constructors that take 75 arguments - you can't forget to pass an argument. --- pkg/standalone/standalone.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/standalone/standalone.go b/pkg/standalone/standalone.go index 4ef72ff28de..fa6d9d1fb3b 100644 --- a/pkg/standalone/standalone.go +++ b/pkg/standalone/standalone.go @@ -157,6 +157,7 @@ func SimpleRunKubelet(etcdClient tools.EtcdClient, dockerClient dockertools.Dock Address: util.IP(net.ParseIP(address)), EnableServer: true, EnableDebuggingHandlers: true, + SyncFrequency: 3 * time.Second, } RunKubelet(&kcfg) }