Skip to content

Commit

Permalink
Merge pull request #2 from thanx/BUGS-1850
Browse files Browse the repository at this point in the history
BUGS-1850. Retry after Errno::ECONNRESET
  • Loading branch information
yanithx authored Jul 31, 2024
2 parents ee071dc + b6816b0 commit de3d177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rpush/daemon/apns2/delivery.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def perform
mark_batch_retryable(Time.now + 10.seconds, error)
@client.close
raise
rescue Errno::ECONNREFUSED, SocketError => error
rescue Errno::ECONNREFUSED, SocketError, Errno::ECONNRESET => error
mark_batch_retryable(Time.now + 10.seconds, error)
raise
rescue StandardError => error
Expand Down

0 comments on commit de3d177

Please sign in to comment.