Currently the MessageQueue will wait up to 10 minutes for a dial to a peer to succeed:
https://github.com/ipfs/go-bitswap/blob/5030b8dd39738778c2cc621a1d7b35cca010ba28/internal/messagequeue/messagequeue.go#L471-L477
However IIUC we only ever try to send messages to peers that we are already connected to.
Proposal:
- remove the retry logic in MessageQueue
- if the dial times out, remove the peer from the session
Currently the MessageQueue will wait up to 10 minutes for a dial to a peer to succeed:
https://github.com/ipfs/go-bitswap/blob/5030b8dd39738778c2cc621a1d7b35cca010ba28/internal/messagequeue/messagequeue.go#L471-L477
However IIUC we only ever try to send messages to peers that we are already connected to.
Proposal: