Commit 8c0baee0 authored by Terence Lee's avatar Terence Lee

get connection refused errors on circleci

parent 5a031e7e
......@@ -98,7 +98,7 @@ class AppRunner
def network_retry(max_retries, retry_count = 0)
yield
rescue Errno::ECONNRESET, EOFError
rescue Errno::ECONNRESET, EOFError, Errno::ECONNREFUSED
if retry_count < max_retries
puts "Retry Count: #{retry_count}" if @debug
sleep(0.01 * retry_count)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment