holepunchto / hyperswarm

A distributed networking stack for connecting peers.
https://docs.holepunch.to
MIT License
1.04k stars 84 forks source link

Joining the same topic repeatedly will refresh #114

Closed andrewosh closed 1 year ago

andrewosh commented 1 year ago

Right now if you swarm.join(topic) multiple times with different client/server options, the swarm will only respect the first join's options. With this fix, the discovery will be refreshed with the latest options.

ogerly commented 1 year ago

thank you very much for your work @andrewosh! we can now integrate it cleanly into docker in our project.

andrewosh commented 1 year ago

Glad to help @ogerly! :)