client: set max message size for decode (#151)
This commit is contained in:
parent
cdd6bcbef0
commit
642ef4832b
|
@ -14,6 +14,8 @@ The minor version will be incremented upon a breaking change and the patch versi
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
|
|
||||||
|
- client: set max message size for decode ([#151](https://github.com/rpcpool/yellowstone-grpc/pull/151)).
|
||||||
|
|
||||||
### Breaking
|
### Breaking
|
||||||
|
|
||||||
## [yellowstone-grpc-proto-1.3.0+solana.1.16.1] - 2023-06-16
|
## [yellowstone-grpc-proto-1.3.0+solana.1.16.1] - 2023-06-16
|
||||||
|
|
|
@ -96,7 +96,8 @@ impl GeyserGrpcClient<()> {
|
||||||
|
|
||||||
Ok(GeyserGrpcClient {
|
Ok(GeyserGrpcClient {
|
||||||
health: HealthClient::with_interceptor(channel.clone(), interceptor.clone()),
|
health: HealthClient::with_interceptor(channel.clone(), interceptor.clone()),
|
||||||
geyser: GeyserClient::with_interceptor(channel, interceptor),
|
geyser: GeyserClient::with_interceptor(channel, interceptor)
|
||||||
|
.max_decoding_message_size(16 * 1024 * 1024), // 16 MiB
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue