jobs: add Excon::Error::Socket to the list of transient errors
In ActiveStorage::Purge job we see a lot of SSL errors: > Connection reset by peer - SSL_connect (Errno::ECONNRESET) These errors seem transient, and resolve themselves after a while.
This commit is contained in:
parent
4eadf48040
commit
13d2364fd5
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,8 @@ module ActiveJob::RetryOnTransientErrors
|
|||
TRANSIENT_ERRORS = [
|
||||
Excon::Error::InternalServerError,
|
||||
Excon::Error::GatewayTimeout,
|
||||
Excon::Error::BadRequest
|
||||
Excon::Error::BadRequest,
|
||||
Excon::Error::Socket
|
||||
]
|
||||
|
||||
included do
|
||||
|
|
Loading…
Reference in a new issue