Fixes CODEOCEAN-7K

This commit is contained in:
Sebastian Serth
2021-12-09 19:21:22 +01:00
parent c4d0591c46
commit f099a9c77e

View File

@ -11,7 +11,7 @@ module Admin
Runner.strategy_class.pool_size
rescue Runner::Error => e
Rails.logger.debug { "Runner error while fetching current pool size: #{e.message}" }
[]
{}
end
ExecutionEnvironment.order(:id).select(:id, :pool_size).map do |execution_environment|