From f7cf6bb61997b11c1f4c9b6d0656b44b776844a4 Mon Sep 17 00:00:00 2001 From: Gabriel Adrian Samfira Date: Wed, 28 Jun 2023 11:23:42 +0000 Subject: [PATCH] increase backoff to 30 seconds Signed-off-by: Gabriel Adrian Samfira --- runner/pool/pool.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runner/pool/pool.go b/runner/pool/pool.go index b2df1b7d..e999188f 100644 --- a/runner/pool/pool.go +++ b/runner/pool/pool.go @@ -1469,9 +1469,9 @@ func (r *basePoolManager) consumeQueuedJobs() error { continue } - if time.Since(job.UpdatedAt) < time.Second*20 { + if time.Since(job.UpdatedAt) < time.Second*30 { // give the idle runners a chance to pick up the job. - log.Printf("[Pool mgr %s] job %d was updated less than 20 seconds ago. Skipping", r.helper.String(), job.ID) + log.Printf("[Pool mgr %s] job %d was updated less than 30 seconds ago. Skipping", r.helper.String(), job.ID) continue }