mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
Clear pending queue on init
This commit is contained in:
parent
7ac06dc4d6
commit
7b866f788e
1 changed files with 2 additions and 0 deletions
|
|
@ -176,6 +176,8 @@ end
|
|||
def check_pool pool
|
||||
$logger.log('d', "[*] [#{pool['name']}] starting worker thread")
|
||||
|
||||
$redis.del('vmware_host_pool__pending__'+pool['name'])
|
||||
|
||||
$threads[pool['name']] = Thread.new {
|
||||
loop do
|
||||
# INVENTORY
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue