lib/tunemygc/syncer.rb in tunemygc-1.0.43 vs lib/tunemygc/syncer.rb in tunemygc-1.0.44
- old
+ new
@@ -30,10 +30,10 @@
Timeout.timeout(NETWORK_TIMEOUT + 1) do
response = sync_with_tuner(data, snapshots)
if response
if response == :retryable
TuneMyGc.log "Retrying in #{retries} seconds ..."
- sleep(retries)
+ sleep(retries + 1)
else
process_config_callback(response)
break
end
else
\ No newline at end of file