Closed djkapner closed 4 years ago
Merging #115 into master will increase coverage by
0.68%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #115 +/- ##
==========================================
+ Coverage 91.50% 92.19% +0.68%
==========================================
Files 14 14
Lines 683 743 +60
==========================================
+ Hits 625 685 +60
Misses 58 58
Impacted Files | Coverage Δ | |
---|---|---|
slapp/transfers/upload.py | 95.68% <100.00%> (+3.38%) |
:arrow_up: |
slapp/transfers/utils.py | 100.00% <100.00%> (ø) |
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 82640a8...1964318. Read the comment docs.
Missing some code coverage on the cleanup. Can you think of a good way to mock it out?
includes #111, replaces #113
Improvements to uploader
ThreadPool
parallelization for faster uploadsboto3.client("s3")
in favor ofbotocore.client
called with abotocore.config.Config
object for exposure of many more options including (1) retry control and (2) checksum checks.upload_file
no longer creates a client, but now takes a client object as an arg.upload_files
helper function.example output_json:
validation
with this branch, 1000 ROIs uploaded in 40 minutes (previously 270 minutes) with no failures (parallelization = 4)