I’m currently updating all the objects on my bucket to have a content encoding of brotli, as when I transferred my files from an old storage provider, the content encoding was not transfered properly. I wrote a script using aws-sdk/client-s3 to go through every object in the bucket and put the same object with the correct content-encoding. However, for some reason, the getObject method hangs after 50 requests or so, and only returns back to normal after a few minutes of idle, which then hangs again after 35 or so requests.
I assume this is a bot protection or some sort, so is there a way to temporarily disable this or another workaround?