Skip to content

Commit 28613a7

Browse files
authored
Merge pull request #124 from ashhadsheikh/patch-1
increase default timeout for client
2 parents e948691 + 1b4f9f5 commit 28613a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

appstore/validator.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func New() *Client {
9191
ProductionURL: ProductionURL,
9292
SandboxURL: SandboxURL,
9393
httpCli: &http.Client{
94-
Timeout: 10 * time.Second,
94+
Timeout: 30 * time.Second,
9595
},
9696
}
9797
return client

appstore/validator_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ func TestNew(t *testing.T) {
9696
ProductionURL: ProductionURL,
9797
SandboxURL: SandboxURL,
9898
httpCli: &http.Client{
99-
Timeout: 10 * time.Second,
99+
Timeout: 30 * time.Second,
100100
},
101101
}
102102

0 commit comments

Comments
 (0)