From ef5dd80ea7a58d457cb2e4fe05b956620dae7ed7 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Tue, 11 Oct 2022 21:14:07 +0200 Subject: [PATCH] Increase wait timeout for new execution environments to 60 sec --- app/models/execution_environment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/execution_environment.rb b/app/models/execution_environment.rb index 3ca6da6c..e8f7dd27 100644 --- a/app/models/execution_environment.rb +++ b/app/models/execution_environment.rb @@ -99,7 +99,7 @@ class ExecutionEnvironment < ApplicationRecord rescue Runner::Error => e # In case of an Runner::Error, we retry multiple times before giving up. # The time between each retry increases to allow the runner management to catch up. - if retries < 30 && !Rails.env.test? + if retries < 60 && !Rails.env.test? retries += 1 sleep 1.second.to_i retry