mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
DEV-161796 Update AWS retries to use Fog::Logger
This commit is contained in:
parent
e562fab0f9
commit
c1b065f295
1 changed files with 1 additions and 1 deletions
|
@ -564,7 +564,7 @@ module Fog
|
|||
waiting = true
|
||||
start_time = Time.now
|
||||
wait_time = ((2.0 ** (1.0 + retries) * 100) + jitter) / 1000.0
|
||||
puts "Waiting #{wait_time} seconds to retry."
|
||||
Fog::Logger.warning "Waiting #{wait_time} seconds to retry."
|
||||
while waiting
|
||||
if Time.now - start_time >= wait_time
|
||||
waiting = false
|
||||
|
|
Loading…
Reference in a new issue