From cb6856d274a182c9c29a79a8dbfd82cfd8364590 Mon Sep 17 00:00:00 2001 From: ashhadsheikh Date: Fri, 21 Aug 2020 14:17:29 +0500 Subject: [PATCH] increase default timeout for client Apple servers sometimes takes more than the default time causing client timeouts, increase the default timeout to cater increases response times. --- appstore/validator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appstore/validator.go b/appstore/validator.go index 698506f..f504585 100644 --- a/appstore/validator.go +++ b/appstore/validator.go @@ -91,7 +91,7 @@ func New() *Client { ProductionURL: ProductionURL, SandboxURL: SandboxURL, httpCli: &http.Client{ - Timeout: 10 * time.Second, + Timeout: 30 * time.Second, }, } return client