Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

complete release deplay support for network pool

  • Loading branch information...
commit 0781da58495c282cf8842c4e11ca646a8eab0a10 1 parent 105df82
Gary Liu authored
Showing with 2 additions and 1 deletion.
  1. +1 −0  warden/lib/warden/config.rb
  2. +1 −1  warden/lib/warden/server.rb
View
1  warden/lib/warden/config.rb
@@ -99,6 +99,7 @@ def self.network_schema
# Present for Backwards compatibility
optional("pool_start_address") => String,
optional("pool_size") => Integer,
+ optional("release_delay") => Integer,
"deny_networks" => [String],
"allow_networks" => [String],
View
2  warden/lib/warden/server.rb
@@ -189,7 +189,7 @@ def self.setup_logging
end
def self.setup_network
- network_pool = Pool::Network.new(config.network["pool_network"])
+ network_pool = Pool::Network.new(config.network["pool_network"], :release_delay => config.network["release_delay"])
container_klass.network_pool = network_pool
end
Please sign in to comment.
Something went wrong with that request. Please try again.