Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazy load s3 client #475

Merged
merged 2 commits into from
Dec 15, 2020
Merged

Lazy load s3 client #475

merged 2 commits into from
Dec 15, 2020

Conversation

joehoyle
Copy link
Member

All requests right now will init the s3client, which causes a lot of file i/o in loading the aws sdk, and a fair bit of CPU to crunch through the sdk init.

Now we have this much better typed, I think we can do what we were never able to do in #128

All requests right now will init the s3client, which causes a lot of file i/o in loading the aws sdk, and a fair bit of CPU to crunch through the sdk init.

Now we have this much better typed, I think we can do what we were never able to do in #128
Copy link

@hm-linter hm-linter bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linting failed (278 errors).

(272 notices occurred in your codebase, but were on files/lines not included in this PR.)

@joehoyle joehoyle requested a review from rmccue December 12, 2020 02:22
@rmccue
Copy link
Member

rmccue commented Dec 15, 2020

@joehoyle can you update this from master with latest lint changes?

@joehoyle
Copy link
Member Author

@rmccue updated!

Copy link
Member

@rmccue rmccue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, easy!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants