Merge pull request #8041 from Roasbeef/background-peer-prune

peer: launch persistent peer pruning in background goroutine
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2023-09-28 11:18:10 -05:00
commit edeb0d7db5
1 file changed
+1 -1
+1 -1
View File
@@ -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