From 66c3535bcbb46ea45a0560c245daad78b12ffa42 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 31 Jul 2021 21:57:33 +0200 Subject: [PATCH] outpost: bump timer for periodic config reloads Signed-off-by: Jens Langhammer --- internal/outpost/ak/api_ws.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/outpost/ak/api_ws.go b/internal/outpost/ak/api_ws.go index 767f032fa..6bdc41fcd 100644 --- a/internal/outpost/ak/api_ws.go +++ b/internal/outpost/ak/api_ws.go @@ -116,7 +116,7 @@ func (ac *APIController) startWSHealth() { func (ac *APIController) startIntervalUpdater() { logger := ac.logger.WithField("loop", "interval-updater") - ticker := time.NewTicker(time.Second * 150) + ticker := time.NewTicker(5 * time.Minute) for ; true; <-ticker.C { err := ac.Server.Refresh() if err != nil {