Merge pull request #6163 from betagouv/add-more-transient-error
Jobs : ajout de Excon::Error::Socket à la liste des erreurs ré-essayées automatiquement (#6163)
This commit is contained in:
commit
ab2539dcea
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,8 @@ module ActiveJob::RetryOnTransientErrors
|
||||||
TRANSIENT_ERRORS = [
|
TRANSIENT_ERRORS = [
|
||||||
Excon::Error::InternalServerError,
|
Excon::Error::InternalServerError,
|
||||||
Excon::Error::GatewayTimeout,
|
Excon::Error::GatewayTimeout,
|
||||||
Excon::Error::BadRequest
|
Excon::Error::BadRequest,
|
||||||
|
Excon::Error::Socket
|
||||||
]
|
]
|
||||||
|
|
||||||
included do
|
included do
|
||||||
|
|
Loading…
Reference in a new issue