mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 20:07:17 +00:00
Add Back Resync Routine (#11280)
This commit is contained in:
parent
b787fd877a
commit
01b1f15bdf
@ -178,6 +178,7 @@ func (s *Service) Start() {
|
|||||||
s.processPendingBlocksQueue()
|
s.processPendingBlocksQueue()
|
||||||
s.processPendingAttsQueue()
|
s.processPendingAttsQueue()
|
||||||
s.maintainPeerStatuses()
|
s.maintainPeerStatuses()
|
||||||
|
s.resyncIfBehind()
|
||||||
|
|
||||||
// Update sync metrics.
|
// Update sync metrics.
|
||||||
async.RunEvery(s.ctx, syncMetricsInterval, s.updateMetrics)
|
async.RunEvery(s.ctx, syncMetricsInterval, s.updateMetrics)
|
||||||
|
Loading…
Reference in New Issue
Block a user