mafintosh / torrent-stream

The low level streaming torrent engine that peerflix uses
MIT License
1.94k stars 227 forks source link

rimraf - Increase maxBusyTries to 60 #119

Closed jaruba closed 9 years ago

jaruba commented 9 years ago

Sometimes rimraf does not remove the video files, increasing maxBusyTries to 60 solved this for me.

Each attempt to remove a file is done every 1 second, changing this from the default 2 tries to 60 equals in a maximum total of 1 minute.

To be noted: rimraf is async

Detailed description of the issue: https://github.com/mafintosh/peerflix/issues/190#issuecomment-107161486

mafintosh commented 9 years ago

Awesome, thanks. Released in 0.19.1