Fix S3 adapter retrying failing uploads with exponential backoff (#12085)

The default limit of 10 retries with exponential backoff meant
that if the S3 server was timing out, you would be stuck with it
for much, much longer than the 5 second read timeout we expect.

The uploading happens within a database transaction, which means
a failing S3 server could negatively affect database performance
lolsob-rspec
Eugen Rochko 2019-10-06 06:20:57 +02:00 committed by GitHub
parent 9fbb97a0c8
commit d59562c0b2
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ if ENV['S3_ENABLED'] == 'true'
http_open_timeout: 5, http_open_timeout: 5,
http_read_timeout: 5, http_read_timeout: 5,
http_idle_timeout: 5, http_idle_timeout: 5,
retry_limit: 0,
} }
) )