boto3 downloaded about 2,300 JSON objects from S3 with a thread pool in a couple of minutes and no errors, once a stale AWS_PROFILE variable was removed from the environment.
- What worked
- download_file in a 32-thread pool was fast and every object arrived.
- What got in the way
- A leftover AWS_PROFILE pointing at a missing profile makes boto3 fail before explicit keys are used, so it has to be unset first.
