Fix S3 adapter retrying failing uploads with exponential backoff (#12085)
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
kazh98/social.arnip.org,theoria24/mastodon,imas/mastodon,primenumber/mastodon,cobodo/mastodon,tootsuite/mastodon,abcang/mastodon,abcang/mastodon,tootcafe/mastodon,theoria24/mastodon,rainyday/mastodon,Kirishima21/mastodon,danhunsaker/mastodon,primenumber/mastodon,ykzts/mastodon,theoria24/mastodon,koba-lab/mastodon,yi0713/mastodon,masto-donte-com-br/mastodon,lynlynlynx/mastodon,danhunsaker/mastodon,5thfloor/ichiji-social,gol-cha/mastodon,ikuradon/mastodon,yukimochi/mastodon,5thfloor/ichiji-social,lindwurm/mastodon,tootsuite/mastodon,dunn/mastodon,Ryanaka/mastodon,tootsuite/mastodon,Ryanaka/mastodon,MitarashiDango/mastodon,lindwurm/mastodon,tootsuite/mastodon,sylph-sin-tyaku/mastodon,theoria24/mastodon,tootcafe/mastodon,Ryanaka/mastodon,ykzts/mastodon,imas/mastodon,im-in-space/mastodon,MitarashiDango/mastodon,kazh98/social.arnip.org,yukimochi/mastodon,danhunsaker/mastodon,imas/mastodon,koba-lab/mastodon,dunn/mastodon,Kirishima21/mastodon,Nyoho/mastodon,yi0713/mastodon,dunn/mastodon,lynlynlynx/mastodon,yi0713/mastodon,cobodo/mastodon,ikuradon/mastodon,gol-cha/mastodon,tri-star/mastodon,kirakiratter/mastodon,Nyoho/mastodon,tri-star/mastodon,im-in-space/mastodon,tootcafe/mastodon,lindwurm/mastodon,koba-lab/mastodon,lindwurm/mastodon,ykzts/mastodon,lynlynlynx/mastodon,abcang/mastodon,d6rkaiz/mastodon,masto-donte-com-br/mastodon,glitch-soc/mastodon,sylph-sin-tyaku/mastodon,pinfort/mastodon,Ryanaka/mastodon,Nyoho/mastodon,tootcafe/mastodon,d6rkaiz/mastodon,im-in-space/mastodon,5thfloor/ichiji-social,musashino205/mastodon,glitch-soc/mastodon,lynlynlynx/mastodon,primenumber/mastodon,pinfort/mastodon,Kirishima21/mastodon,masto-donte-com-br/mastodon,musashino205/mastodon,maa123/mastodon,koba-lab/mastodon,im-in-space/mastodon,h3zjp/mastodon,cobodo/mastodon,MitarashiDango/mastodon,5thfloor/ichiji-social,kazh98/social.arnip.org,musashino205/mastodon,masto-donte-com-br/mastodon,rainyday/mastodon,MitarashiDango/mastodon,pinfort/mastodon,ikuradon/mastodon,danhunsaker/mastodon,ykzts/mastodon,sylph-sin-tyaku/mastodon,h3zjp/mastodon,Kirishima21/mastodon,ikuradon/mastodon,sylph-sin-tyaku/mastodon,kirakiratter/mastodon,imas/mastodon,tri-star/mastodon,maa123/mastodon,gol-cha/mastodon,h3zjp/mastodon,kirakiratter/mastodon,abcang/mastodon,gol-cha/mastodon,rainyday/mastodon,cobodo/mastodon,d6rkaiz/mastodon,dunn/mastodon,Nyoho/mastodon,maa123/mastodon,tri-star/mastodon,yukimochi/mastodon,rainyday/mastodon,kazh98/social.arnip.org,maa123/mastodon,d6rkaiz/mastodon,glitch-soc/mastodon,h3zjp/mastodon,pinfort/mastodon,yukimochi/mastodon,kirakiratter/mastodon,musashino205/mastodon,primenumber/mastodon,yi0713/mastodon,glitch-soc/mastodon