]> cat aescling's git repositories - mastodon.git/commit
Fix S3 adapter retrying failing uploads with exponential backoff (#12085)
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 6 Oct 2019 04:20:57 +0000 (06:20 +0200)
committerGitHub <noreply@github.com>
Sun, 6 Oct 2019 04:20:57 +0000 (06:20 +0200)
commit086fc7ed7733c7ec3b51a2513d496670f6a97219
treeebb25f46787a0f30c9c4e2226f9bc1f1b78d6640
parentc4fbfaf0b85a589fd669d097471be6bfb82620c6
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
config/initializers/paperclip.rb