implemented pooling for Docker containers
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
class AddPoolSizeToExecutionEnvironments < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :execution_environments, :pool_size, :integer
|
||||
|
||||
reversible do |direction|
|
||||
direction.up do
|
||||
ExecutionEnvironment.update_all(pool_size: 0)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user