Skip to content

Commit 6bca81a

Browse files
fix comment
1 parent 1f7b831 commit 6bca81a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/lib/connection_manager.ts

+1
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ export class ConnectionManager
407407
* 1. If the peer is already connected, don't dial
408408
* 2. If the peer is not part of any of the configured pubsub topics, don't dial
409409
* 3. If the peer is not dialable based on bootstrap status, don't dial
410+
* 4. If the peer is already has an active dial attempt, or has been dialed before, don't dial it
410411
* @returns true if the peer should be dialed, false otherwise
411412
*/
412413
private async shouldDialPeer(peerId: PeerId): Promise<boolean> {

0 commit comments

Comments
 (0)