Skip to content

Commit

Permalink
bugfix 429 retry
Browse files Browse the repository at this point in the history
  • Loading branch information
snewcomer committed Jun 18, 2022
1 parent 4d44b90 commit 0e91c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/stripe/api.ex
Expand Up @@ -428,7 +428,7 @@ defmodule Stripe.API do
# 409 conflict
defp retry_response?({:error, 409, _headers, _body}), do: true
# https://github.com/beam-community/stripity_stripe/issues/686
defp retry_response?({:errro, 429, _headers, _body}), do: true
defp retry_response?({:error, 429, _headers, _body}), do: true
# Destination refused the connection, the connection was reset, or a
# variety of other connection failures. This could occur from a single
# saturated server, so retry in case it's intermittent.
Expand Down

0 comments on commit 0e91c2f

Please sign in to comment.