NebulousLabs / Sia

Blockchain-based marketplace for file storage. Project has moved to GitLab: https://gitlab.com/NebulousLabs/Sia
https://sia.tech
MIT License
2.71k stars 440 forks source link

don't hold lock when calling initPersist #3072

Closed ChrisSchinnerl closed 6 years ago

ChrisSchinnerl commented 6 years ago

Seems like for very large numbers of files the safe lock around initPersist reports a deadlock. Since we don't actually to hold that lock within the constructor of the renter I removed that lock.