holepunchto / hyperdht

The DHT powering Hyperswarm
https://docs.holepunch.to
MIT License
323 stars 46 forks source link

connectionKeepAlive: 5000 default #186

Closed HDegroote closed 2 months ago

HDegroote commented 2 months ago

When connectionKeepAlive is not set, strange things happen, particularly if only one side has not set it. Behaviour will be cleaner if it is set by default.

Note: as this change rolls out, we might temporarily create more situations where one side has set the keepAlive, while the other side hasn't.