Reduce timeout to 10 seconds
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
parent
28360fd662
commit
4b9c20e1be
1 changed files with 2 additions and 2 deletions
|
|
@ -1467,9 +1467,9 @@ func (r *basePoolManager) consumeQueuedJobs() error {
|
|||
continue
|
||||
}
|
||||
|
||||
if time.Since(job.UpdatedAt) < time.Second*30 {
|
||||
if time.Since(job.UpdatedAt) < time.Second*10 {
|
||||
// give the idle runners a chance to pick up the job.
|
||||
log.Printf("job %d was updated less than 30 seconds ago. Skipping", job.ID)
|
||||
log.Printf("job %d was updated less than 10 seconds ago. Skipping", job.ID)
|
||||
continue
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue