Remove (commented-out) race condition

This commit is contained in:
Scott Schneider 2013-11-25 13:46:47 -08:00
parent dc906164c1
commit 9228abb5d1

View file

@ -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'])