mirror of
https://github.com/puppetlabs/vmpooler-provider-ec2.git
synced 2026-01-26 02:28:40 -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
|
sleep 1
|
||||||
retry if (retries += 1) < 300
|
retry if (retries += 1) < 300
|
||||||
rescue Errno::EBADF => e
|
rescue Errno::EBADF => e
|
||||||
puts "#{host} Jruby error, try again for 30s (#{retries}): #{e}"
|
puts "#{host} Jruby error, try again for 300s (#{retries}): #{e}"
|
||||||
sleep 1
|
sleep 10
|
||||||
retry if (retries += 1) < 30
|
retry if (retries += 1) < 30
|
||||||
rescue StandardError => e
|
rescue StandardError => e
|
||||||
puts "#{host} Other error, cancelling aws_setup: #{e}"
|
puts "#{host} Other error, cancelling aws_setup: #{e}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue