leijurv / gb

backup your files properly to google drive and/or s3
GNU Affero General Public License v3.0
36 stars 6 forks source link

Fix restore of many deduped files causing "too many open files" error #19

Closed babbaj closed 2 years ago

babbaj commented 2 years ago

Fixes #18

leijurv commented 2 years ago

This downloads the same file many times, instead it should download the file once, write it to the 500 places, then all the ones after 500 should read from paths 0 through 499 where the file is. Should be easy since it already uses this "nominated" meme to copy from local files wherever possible