Skip to content

Commit

Permalink
fix retrying loading beacon states from other clients on failures or …
Browse files Browse the repository at this point in the history
…timeouts
  • Loading branch information
pk910 committed Nov 22, 2024
1 parent 7c7324c commit 5bb568e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion indexer/beacon/epochcache.go
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,8 @@ func (cache *epochCache) loadEpochStats(epochStats *EpochStats) bool {

if epochStats.dependentState.loadingStatus != 2 {
// epoch state could not be loaded
return true
epochStats.dependentState.retryCount++
return false
}

dependentStats := []*EpochStats{}
Expand Down

0 comments on commit 5bb568e

Please sign in to comment.