You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, PubSub.Publish() does not take a context which means to some degree this problem will still exist until we either A) give Publish a context, or B) allow Publish (at either the PubSub or floodsub/gossipsub layer) to store a backlog of messages to be sent once bootstrapping has completed and we've found peers.
If we land libp2p/go-libp2p-pubsub#184 without solving the above we can easily just wrap the Publish with a goroutine + context to make sure that we respect the context of PutValue.
It uses a context with no deadline, which does not operate well with DHT providing:
The text was updated successfully, but these errors were encountered: