Closed lmangani closed 3 years ago
Thanks for bringing this to my attention! I had reconnect logic in the torrent strategy but a small bug prevented it from ever being called. I just pushed 0.7.8 to npm which should fix the issue.
this seems have done the trick! thanks @dmotz
Wonderful little library you're building here!
I was playing with the demo and comparing it to our DAM/GUN approach using the bittorrent strategy, and while everything seems to work as advertised once the mesh is established, I noticed the bittorrent websocket connections are quite fragile and close quite quickly, without an obvious reconnection logic to restart
announceAll
and staying advertised to the trackersThe immediate effects is peers are not discovered when they join the page far apart in time. Did i miss anything obvious for those scenarios and/or can one be discussed to form a code contribution?
Thanks!