mirror of
https://github.com/puppetlabs/vmpooler-provider-ec2.git
synced 2026-01-26 10:28:41 -05:00
retry longer for the Jruby error
This commit is contained in:
parent
ea36218120
commit
caecd11260
1 changed files with 2 additions and 2 deletions
|
|
@ -57,8 +57,8 @@ module Vmpooler
|
|||
sleep 1
|
||||
retry if (retries += 1) < 300
|
||||
rescue Errno::EBADF => e
|
||||
puts "#{host} Jruby error, try again for 30s (#{retries}): #{e}"
|
||||
sleep 1
|
||||
puts "#{host} Jruby error, try again for 300s (#{retries}): #{e}"
|
||||
sleep 10
|
||||
retry if (retries += 1) < 30
|
||||
rescue StandardError => e
|
||||
puts "#{host} Other error, cancelling aws_setup: #{e}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue