Merge branch 'master' into safe-priority-queue

This commit is contained in:
richΛrd 2024-09-04 10:30:47 -04:00 committed by GitHub
commit e682a1d1eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -59,7 +59,7 @@ func (w *WakuNode) startKeepAlive(ctx context.Context, randomPeersPingDuration t
if allPeersPingDuration != 0 {
allPeersTicker := time.NewTicker(allPeersPingDuration)
defer allPeersTicker.Stop()
randomPeersTickerC = allPeersTicker.C
allPeersTickerC = allPeersTicker.C
}
lastTimeExecuted := w.timesource.Now()