Skip to content

Commit

Permalink
Merge pull request #98 from ethpandaops/pk910/fix-log-interval
Browse files Browse the repository at this point in the history
fix log interval when waiting for chain specs
  • Loading branch information
pk910 authored Aug 16, 2024
2 parents ec9f4dd + 2f9d02e commit 65f7294
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/chainservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ func (cs *ChainService) StartService() error {

if time.Since(lastLog) > 10*time.Second {
cs.logger.Warnf("still waiting for chain specs... need at least 1 consensus client to load chain specs from.")
lastLog = time.Now()
}

time.Sleep(1 * time.Second)
Expand Down

0 comments on commit 65f7294

Please sign in to comment.