Fixes CODEOCEAN-7K
This commit is contained in:
@ -11,7 +11,7 @@ module Admin
|
|||||||
Runner.strategy_class.pool_size
|
Runner.strategy_class.pool_size
|
||||||
rescue Runner::Error => e
|
rescue Runner::Error => e
|
||||||
Rails.logger.debug { "Runner error while fetching current pool size: #{e.message}" }
|
Rails.logger.debug { "Runner error while fetching current pool size: #{e.message}" }
|
||||||
[]
|
{}
|
||||||
end
|
end
|
||||||
|
|
||||||
ExecutionEnvironment.order(:id).select(:id, :pool_size).map do |execution_environment|
|
ExecutionEnvironment.order(:id).select(:id, :pool_size).map do |execution_environment|
|
||||||
|
Reference in New Issue
Block a user