celestia-node
celestia-node copied to clipboard
feat(discovery): discover triggered too frequently
In the case a node doesn't have its quota of peers, it will send a new discover
request every second. There are no guarantees that the discover
request can complete within 1 second.
https://github.com/celestiaorg/celestia-node/blob/accb0589d2de42a44de43e0974610d3a0186976d/share/p2p/discovery/discovery.go#L225-L229
This interval seems too aggressive and should probably be increased (e.g to 1
or even 5
minutes?)