mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
reduce loop delay when waiting for host selection
This commit is contained in:
parent
fedb3632f2
commit
ecae6a1a58
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ module Vmpooler
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def wait_for_host_selection(dc, target, maxloop = 0, loop_delay = 5, max_age = 60)
|
def wait_for_host_selection(dc, target, maxloop = 0, loop_delay = 1, max_age = 60)
|
||||||
loop_count = 1
|
loop_count = 1
|
||||||
until target.key?(dc) and target[dc].key?('check_time_finished')
|
until target.key?(dc) and target[dc].key?('check_time_finished')
|
||||||
sleep(loop_delay)
|
sleep(loop_delay)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue