mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 18:25:56 +01:00
update system artifact schedult timeout (#17902)
fixes #17887 enhance the timeout to 5m to avoid system artifact failed to schedule in the helm base installation. Signed-off-by: Wang Yan <wangyan@vmware.com> Signed-off-by: Wang Yan <wangyan@vmware.com>
This commit is contained in:
parent
5f1dff32c2
commit
277c78e212
@ -248,7 +248,7 @@ func main() {
|
||||
options := []retry.Option{
|
||||
retry.InitialInterval(time.Millisecond * 500),
|
||||
retry.MaxInterval(time.Second * 10),
|
||||
retry.Timeout(time.Minute),
|
||||
retry.Timeout(time.Minute * 5),
|
||||
retry.Callback(func(err error, sleep time.Duration) {
|
||||
log.Debugf("failed to ping %s, retry after %s : %v", url, sleep, err)
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user