From 5d06bd4ab98b916a514af5dd8514ad19ed26ddb5 Mon Sep 17 00:00:00 2001 From: Steve Kriss Date: Fri, 12 Apr 2019 13:14:17 -0600 Subject: [PATCH] restic repo controller: lower resync period to 5min Signed-off-by: Steve Kriss --- pkg/controller/restic_repository_controller.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/controller/restic_repository_controller.go b/pkg/controller/restic_repository_controller.go index 183ef6419..b74814dc9 100644 --- a/pkg/controller/restic_repository_controller.go +++ b/pkg/controller/restic_repository_controller.go @@ -1,5 +1,5 @@ /* -Copyright 2018 the Velero contributors. +Copyright 2018, 2019 the Velero contributors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -74,7 +74,7 @@ func NewResticRepositoryController( }, ) - c.resyncPeriod = 30 * time.Minute + c.resyncPeriod = 5 * time.Minute c.resyncFunc = c.enqueueAllRepositories return c