Skip to content

Fix hanging connects to bootstrapper#10

Open
aschmahmann wants to merge 1 commit intolibp2p:masterfrom
aschmahmann:patch-1
Open

Fix hanging connects to bootstrapper#10
aschmahmann wants to merge 1 commit intolibp2p:masterfrom
aschmahmann:patch-1

Conversation

@aschmahmann
Copy link
Copy Markdown

Changed pubsub-interop bootstrapper from for-loop infinite loop to select infinite loop.

This issue seems to be the reason for libp2p/go-libp2p-pubsub#195 being filed. The for true {} style infinite loop yields no CPU time for processing incoming connections while select {} does.

Changed pubsub-interop bootstrapper from for-loop infinite loop to select infinite loop.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant