Merge branch 'fix/increase_wait_for_poseidon'
This commit is contained in:
@ -93,9 +93,9 @@ 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 < 5 && !Rails.env.test?
|
||||
if retries < 30 && !Rails.env.test?
|
||||
retries += 1
|
||||
sleep retries
|
||||
sleep 1.second.to_i
|
||||
retry
|
||||
elsif errors.exclude?(:docker_image)
|
||||
errors.add(:docker_image, "error: #{e}")
|
||||
|
Reference in New Issue
Block a user