outpost: bump timer for periodic config reloads

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-07-31 21:57:33 +02:00
parent 293c479364
commit 66c3535bcb
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ func (ac *APIController) startWSHealth() {
func (ac *APIController) startIntervalUpdater() { func (ac *APIController) startIntervalUpdater() {
logger := ac.logger.WithField("loop", "interval-updater") logger := ac.logger.WithField("loop", "interval-updater")
ticker := time.NewTicker(time.Second * 150) ticker := time.NewTicker(5 * time.Minute)
for ; true; <-ticker.C { for ; true; <-ticker.C {
err := ac.Server.Refresh() err := ac.Server.Refresh()
if err != nil { if err != nil {