mirror of
https://github.com/lightninglabs/loop
synced 2024-11-08 01:10:29 +00: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
@ -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…
Reference in New Issue
Block a user