Add Back Resync Routine (#11280)

This commit is contained in:
Nishant Das 2022-08-21 21:31:40 +08:00 committed by GitHub
parent b787fd877a
commit 01b1f15bdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)