Permalink
Browse files

complete release deplay support for network pool

  • Loading branch information...
1 parent 105df82 commit 0781da58495c282cf8842c4e11ca646a8eab0a10 Gary Liu committed Aug 7, 2013
Showing with 2 additions and 1 deletion.
  1. +1 −0 warden/lib/warden/config.rb
  2. +1 −1 warden/lib/warden/server.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],
@@ -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

0 comments on commit 0781da5

Please sign in to comment.