Skip to content

Commit

Permalink
fix: fixed lint error by adding explicit type for ProcessRequestRetry…
Browse files Browse the repository at this point in the history
…Delay
  • Loading branch information
Yashk767 committed Apr 22, 2024
1 parent d747f13 commit dd0d6b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ const APIKeyRegex = `\$\{(.+?)\}`

// Following are the constants which defines retry attempts and retry delay if there is an error in processing request
const (
ProcessRequestRetryAttempts uint = 2
ProcessRequestRetryDelay = 2
ProcessRequestRetryAttempts uint = 2
ProcessRequestRetryDelay int64 = 2
)

//SwitchClientDuration is the time after which alternate client from secondary RPC will be switched back to client from primary RPC
Expand Down

0 comments on commit dd0d6b2

Please sign in to comment.