Skip to content
This repository was archived by the owner on May 14, 2021. It is now read-only.

Commit cf28eac

Browse files
committed
change client timeout for cmd/create and cmd/merge to 20 seconds
1 parent 8d0db93 commit cf28eac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/create/account.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const (
1818
fundTimeout = 10 * time.Second
1919
getTimeout = fundTimeout
2020

21-
submitTimeout = 10 * time.Second
21+
submitTimeout = 20 * time.Second
2222
retryFailedTxAmount = 10
2323
)
2424

cmd/merge/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ func main() {
9999
// Add transaction submitter source account and network information
100100
client := horizon.Client{
101101
URL: *horizonDomainFlag,
102-
HTTP: &http.Client{Timeout: 5 * time.Second},
102+
HTTP: &http.Client{Timeout: 20 * time.Second},
103103
}
104104
ops = append(
105105
[]build.TransactionMutator{

0 commit comments

Comments
 (0)