Skip to content

Commit

Permalink
sleep a while before fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
colinlyguo committed May 24, 2024
1 parent 0b7fe3c commit 40f789e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rollup/cmd/rollup_relayer/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ func action(ctx *cli.Context) error {
l2watcher.TryFetchRunningMissingBlocks(number)
})

time.Sleep(180 * time.Second)

go func(ctx context.Context) {
for {
select {
Expand Down

0 comments on commit 40f789e

Please sign in to comment.