joehand / archiver-api

rest API for hypercore-archiver
MIT License
3 stars 0 forks source link

improve the algorithm for calculating archive sync progress #7

Closed pfrazee closed 7 years ago

pfrazee commented 7 years ago

Minor update. Cleans up the semantics a bit, and makes it so that progress is reported at zero until the content feed has been made available, to avoid the possibility of accidentally reporting 100% if the metadata somehow finished download before the content feed was created.

joehand commented 7 years ago

Sweet