restic repo controller: lower resync period to 5min

Signed-off-by: Steve Kriss <krisss@vmware.com>
pull/1367/head
Steve Kriss 2019-04-12 13:14:17 -06:00
parent 0328a70ff0
commit 5d06bd4ab9
1 changed files with 2 additions and 2 deletions

View File

@ -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