Improve error resilience and handling
Timeouts are now handled correctly and the Runner automatically creates the execution environment if it could not be found in Poseidon. The runner is deleted locally if Poseidon returns a bad request error.
This commit is contained in:

committed by
Sebastian Serth

parent
b6bc578aea
commit
413f9b2705
@ -3,7 +3,7 @@
|
||||
class CleanExposedPortsInExecutionEnvironment < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
ExecutionEnvironment.all.each do |execution_environment|
|
||||
continue if execution_environment.exposed_ports.nil?
|
||||
next if execution_environment.exposed_ports.nil?
|
||||
|
||||
cleaned = execution_environment.exposed_ports.gsub(/[[:space:]]/, '')
|
||||
list = cleaned.split(',').map(&:to_i).uniq
|
||||
|
Reference in New Issue
Block a user