mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
Merge pull request #204 from Roasbeef/lndclient-resp
lndclient: also set gRPC max resp size for sub-servers
This commit is contained in:
commit
4871abfc80
1 changed files with 1 additions and 0 deletions
|
|
@ -448,6 +448,7 @@ func getClientConn(cfg *LndServicesConfig) (*grpc.ClientConn, error) {
|
|||
// Use a custom dialer, to allow connections to unix sockets,
|
||||
// in-memory listeners etc, and not just TCP addresses.
|
||||
grpc.WithContextDialer(cfg.Dialer),
|
||||
grpc.WithDefaultCallOptions(maxMsgRecvSize),
|
||||
}
|
||||
|
||||
conn, err := grpc.Dial(cfg.LndAddress, opts...)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue