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

Rewrite S3Boto3Storage.listdir() for efficiency #352

Merged
merged 1 commit into from
Sep 1, 2018
Merged

Rewrite S3Boto3Storage.listdir() for efficiency #352

merged 1 commit into from
Sep 1, 2018

Conversation

jdufresne
Copy link
Contributor

Use boto3 paginator to fetch results. Code based on django-s3-storage.

Fixes #95

@codecov-io
Copy link

codecov-io commented Jun 28, 2017

Codecov Report

Merging #352 into master will decrease coverage by 0.49%.
The diff coverage is 75%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master    #352     +/-   ##
========================================
- Coverage    77.1%   76.6%   -0.5%     
========================================
  Files          10      11      +1     
  Lines        1520    1603     +83     
========================================
+ Hits         1172    1228     +56     
- Misses        348     375     +27
Impacted Files Coverage Δ
storages/backends/s3boto3.py 86.8% <75%> (-0.93%) ⬇️
storages/backends/gs.py 69.73% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fd1d648...7b90f3a. Read the comment docs.

@jschneier
Copy link
Owner

@jdufresne is this still relevant?

@jdufresne
Copy link
Contributor Author

It should be more efficient than the previous version, so I think so. Did you have specific concerns or reservations?

Use boto3 paginator to fetch results. Code based on django-s3-storage.

Fixes #95
@jschneier jschneier merged commit b606a51 into jschneier:master Sep 1, 2018
@jdufresne jdufresne deleted the listdir branch March 7, 2020 15:03
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.

3 participants