lntest: add http header timeout to config
This commit is contained in:
4 files changed
+20
-10
No files matched your search
@@ -227,7 +227,7 @@ const (
|
||||
defaultGrpcClientPingMinWait = 5 * time.Second
|
||||
|
||||
// defaultHTTPHeaderTimeout is the default timeout for HTTP requests.
|
||||
defaultHTTPHeaderTimeout = 5 * time.Second
|
||||
DefaultHTTPHeaderTimeout = 5 * time.Second
|
||||
|
||||
// BitcoinChainName is a string that represents the Bitcoin blockchain.
|
||||
BitcoinChainName = "bitcoin"
|
||||
@@ -702,7 +702,7 @@ func DefaultConfig() Config {
|
||||
ClientPingMinWait: defaultGrpcClientPingMinWait,
|
||||
},
|
||||
WtClient: lncfg.DefaultWtClientCfg(),
|
||||
HTTPHeaderTimeout: defaultHTTPHeaderTimeout,
|
||||
HTTPHeaderTimeout: DefaultHTTPHeaderTimeout,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user