mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-28 13:52:55 +02:00
lntest: add http header timeout to config
This commit is contained in:
@@ -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