Skip to content

Commit

Permalink
feat: decrease loop time
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh-98 committed Jan 11, 2024
1 parent 2351ee8 commit a7ae6e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func (e *Engine) SyncHandler() {
latestBlockNum = e.GetLatestFinalizedBlock(4)
e.SyncAndFlush(latestBlockNum)
log.Infof("Synced till %d sleeping for 5 mins", latestBlockNum)
time.Sleep(5 * time.Minute) // on kovan 5 blocks in 1 min , sleep for 5 mins
time.Sleep(30 * time.Second) // on kovan 5 blocks in 1 min , sleep for 5 mins
}
}

Expand Down

0 comments on commit a7ae6e4

Please sign in to comment.