This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
put_directory creates a new s3_client for each file uploaded #332
Labels
bug
Something isn't working
Hello all,
I am executing
build_from_flow
as below to upload all my Prefect files into anS3Bucket
.It works, but the result is that
upload_to_storage
takes a very long time. I have about 400 files to upload and it takes around 1 second per file.I looked at the source code and the
botocore
output and it looks like a boto3 client and credentials are checked for every files.version:
prefect-aws==0.4.1
Expectation / Proposal
Uploading a bunch of files to S3 should very fast.
Traceback / Example
The text was updated successfully, but these errors were encountered: