From 932117d6197bc6aa42b1cf1922ad0f86b9b52192 Mon Sep 17 00:00:00 2001 From: "EPAM\\Felipe_Hernandez" Date: Tue, 27 Feb 2024 14:51:28 -0500 Subject: [PATCH] feat: put 30 seconds as default client time out --- api/utils/validator.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/utils/validator.go b/api/utils/validator.go index 69f3875..c7443c2 100644 --- a/api/utils/validator.go +++ b/api/utils/validator.go @@ -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{