mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
Remove (commented-out) race condition
This commit is contained in:
parent
dc906164c1
commit
9228abb5d1
1 changed files with 0 additions and 6 deletions
|
|
@ -208,12 +208,6 @@ def check_pool pool
|
|||
|
||||
# PENDING
|
||||
$redis.smembers('vmware_host_pool__pending__'+pool['name']).each do |vm|
|
||||
#
|
||||
# This causes a race condition where more than one VM is cloned
|
||||
#
|
||||
# if (! inventory[vm])
|
||||
# $redis.srem('vmware_host_pool__pending__'+pool['name'], vm)
|
||||
# end
|
||||
pool['timeout'] ||= 10
|
||||
|
||||
check_pending_vm(vm, pool['name'], pool['timeout'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue