Skip to content

Commit

Permalink
feat: put 30 seconds as default client time out
Browse files Browse the repository at this point in the history
  • Loading branch information
gitahernandez committed Feb 27, 2024
1 parent 69b20db commit 932117d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/utils/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ func ValidateInputs(clientId string, clientSecret string, apiUrl string, clientT

}

if *retryMaxElapsedTimeMinutes == 0 {
*retryMaxElapsedTimeMinutes = 2
}

validate = validator.New(validator.WithRequiredStructEnabled())

userInput := &UserInputValidaton{
Expand Down

0 comments on commit 932117d

Please sign in to comment.