Skip to content

Commit

Permalink
chore: reduce sleep time
Browse files Browse the repository at this point in the history
  • Loading branch information
viveksharmapoudel committed Dec 4, 2023
1 parent c584766 commit c222afa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relayer/chains/icon/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -1246,7 +1246,7 @@ loop:
func (icp *IconProvider) handleBlockRequest(
request *btpBlockRequest, requestCh chan *btpBlockRequest) {
defer func() {
time.Sleep(500 * time.Millisecond)
time.Sleep(50 * time.Millisecond)
requestCh <- request
}()

Check warning on line 1251 in relayer/chains/icon/query.go

View check run for this annotation

Codecov / codecov/patch

relayer/chains/icon/query.go#L1247-L1251

Added lines #L1247 - L1251 were not covered by tests

Expand Down

0 comments on commit c222afa

Please sign in to comment.