jobs: add more transient errors
These errors occur frequently during interactions with OVH's ObjectStorage.
This commit is contained in:
parent
fbfe5c3817
commit
2cb6ec7c51
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,8 @@ module ActiveJob::RetryOnTransientErrors
|
|||
extend ActiveSupport::Concern
|
||||
|
||||
TRANSIENT_ERRORS = [
|
||||
Excon::Error::InternalServerError,
|
||||
Excon::Error::GatewayTimeout,
|
||||
Excon::Error::BadRequest
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in a new issue