modules/hyprspace: force reconnection
This commit is contained in:
parent
76f3badc7c
commit
d9d599a598
1 changed files with 1 additions and 0 deletions
|
@ -167,6 +167,7 @@ func bootstrap(ctx context.Context, node host.Host, bootstrapPeers map[peer.ID]*
|
|||
for _, peerInfo := range bootstrapPeers {
|
||||
go func(peerInfo *peer.AddrInfo) {
|
||||
defer wg.Done()
|
||||
node.Network().ClosePeer(peerInfo.ID)
|
||||
err := node.Connect(ctx, *peerInfo)
|
||||
if err == nil {
|
||||
lock.Lock()
|
||||
|
|
Loading…
Reference in a new issue