From d8033999d56d9600f431e76bc50831108c920b7a Mon Sep 17 00:00:00 2001
From: Eric Chiang <eric.chiang@coreos.com>
Date: Mon, 17 Oct 2016 10:47:47 -0700
Subject: [PATCH] server: fix key rotation polling

---
 server/rotation.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/rotation.go b/server/rotation.go
index a725deb2..b9e3021c 100644
--- a/server/rotation.go
+++ b/server/rotation.go
@@ -76,7 +76,7 @@ func startKeyRotation(ctx context.Context, s storage.Storage, strategy rotationS
 			select {
 			case <-ctx.Done():
 				return
-			case <-time.After(strategy.period):
+			case <-time.After(time.Second * 30):
 				if err := rotater.rotate(); err != nil {
 					log.Printf("failed to rotate keys: %v", err)
 				}
-- 
GitLab