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.
This commit is contained in:
@@ -91,7 +91,7 @@ func New() *Client {
|
||||
ProductionURL: ProductionURL,
|
||||
SandboxURL: SandboxURL,
|
||||
httpCli: &http.Client{
|
||||
Timeout: 10 * time.Second,
|
||||
Timeout: 30 * time.Second,
|
||||
},
|
||||
}
|
||||
return client
|
||||
|
||||
Reference in New Issue
Block a user