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
|
extend ActiveSupport::Concern
|
||||||
|
|
||||||
TRANSIENT_ERRORS = [
|
TRANSIENT_ERRORS = [
|
||||||
|
Excon::Error::InternalServerError,
|
||||||
|
Excon::Error::GatewayTimeout,
|
||||||
Excon::Error::BadRequest
|
Excon::Error::BadRequest
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue