Merge pull request #8041 from Roasbeef/background-peer-prune
peer: launch persistent peer pruning in background goroutine
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -551,7 +551,7 @@ func (p *Brontide) Start() error {
|
||||
}
|
||||
|
||||
if len(activeChans) == 0 {
|
||||
p.cfg.PrunePersistentPeerConnection(p.cfg.PubKeyBytes)
|
||||
go p.cfg.PrunePersistentPeerConnection(p.cfg.PubKeyBytes)
|
||||
}
|
||||
|
||||
// Quickly check if we have any existing legacy channels with this
|
||||
|
||||
Reference in new issue
Block a user