Skip to content

Commit

Permalink
Update common/client/node_lifecycle.go
Browse files Browse the repository at this point in the history
Co-authored-by: amit-momin <108959691+amit-momin@users.noreply.github.com>
  • Loading branch information
dhaidashenko and amit-momin committed Jul 24, 2024
1 parent 84d4767 commit 9ca1e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/client/node_lifecycle.go
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ func (n *node[CHAIN_ID, HEAD, RPC]) outOfSyncLoop(syncIssues syncIssue) {
case <-time.After(zombieNodeCheckInterval(noNewHeadsTimeoutThreshold)):
if n.poolInfoProvider != nil {
if l, _ := n.poolInfoProvider.LatestChainInfo(); l < 1 {
lggr.Critical("RPC endpoint is still out of sync, but there are no other available nodes. This RPC node will be forcibly moved back into the live pool in a degraded state", "syncIssues", syncIssues)
lggr.Criticalw("RPC endpoint is still out of sync, but there are no other available nodes. This RPC node will be forcibly moved back into the live pool in a degraded state", "syncIssues", syncIssues)
n.declareInSync()
return
}
Expand Down

0 comments on commit 9ca1e34

Please sign in to comment.