|
|
@@ -166,8 +166,8 @@ func waitForJob(_ *types.GetAuthenticatedUserResponse, client *api.Client, args
|
|
|
return pausedErr
|
|
|
}
|
|
|
|
|
|
- // if no job exists with the given revision, wait up to 5 minutes
|
|
|
- timeWait := time.Now().Add(5 * time.Minute)
|
|
|
+ // if no job exists with the given revision, wait up to 30 minutes
|
|
|
+ timeWait := time.Now().Add(30 * time.Minute)
|
|
|
|
|
|
for time.Now().Before(timeWait) {
|
|
|
// get the jobs for that job chart
|
|
|
@@ -180,7 +180,7 @@ func waitForJob(_ *types.GetAuthenticatedUserResponse, client *api.Client, args
|
|
|
job := getJobMatchingRevision(uint(jobRelease.Release.Version), jobs)
|
|
|
|
|
|
if job == nil {
|
|
|
- time.Sleep(10 * time.Second)
|
|
|
+ time.Sleep(5 * time.Minute)
|
|
|
continue
|
|
|
}
|
|
|
|