We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If we initialise autorelay with WithMinInterval(0) that causes the background go routine to go into a spin loop. https://github.com/libp2p/go-libp2p/blob/master/p2p/host/autorelay/relay_finder.go#L225-L230 here the scheduledTime for next allowed call will always be current time and the scheduledWorkTimer fires immediately.
kubo currently uses MinInterval(0) https://github.com/ipfs/kubo/blob/a3366c522a578db610d8633c5a15ebddb6e96e39/core/node/libp2p/relay.go#L101
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
If we initialise autorelay with WithMinInterval(0) that causes the background go routine to go into a spin loop.
https://github.com/libp2p/go-libp2p/blob/master/p2p/host/autorelay/relay_finder.go#L225-L230
here the scheduledTime for next allowed call will always be current time and the scheduledWorkTimer fires immediately.
kubo currently uses MinInterval(0)
https://github.com/ipfs/kubo/blob/a3366c522a578db610d8633c5a15ebddb6e96e39/core/node/libp2p/relay.go#L101
The text was updated successfully, but these errors were encountered: