Skip to content

Cache the s3 client #6

Closed
Closed
@jhorbulyk

Description

@jhorbulyk

Would you consider modifying the code so that if the user does not provide their own s3 client, then Uploader will create a client once and cache that client object so that it can be used for multiple Uploader() calls?

If anyone is using this library to make multiple uploads to the same s3 account, then they wouldn't want to create the s3 object multiple times. And it would seem cumbersome to create a wrapper around this wrapper that creates a cached s3Client object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions