Skip to content

Commit

Permalink
add sleep between calls
Browse files Browse the repository at this point in the history
  • Loading branch information
infiloop2 committed Sep 20, 2023
1 parent e7df0d7 commit 30a2f1c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/services/ocr2/plugins/ocr2keeper/evm20/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,9 @@ func (r *EvmRegistry) initialize() error {
}

offset += batch

// Do not bombard RPC will calls, wait a bit
time.Sleep(100 * time.Millisecond)
}

r.mu.Lock()
Expand Down

0 comments on commit 30a2f1c

Please sign in to comment.