File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed
rust/otap-dataflow/crates/otap/src/otap_grpc Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,7 @@ pub struct GrpcClientSettings {
1818 pub grpc_endpoint : String ,
1919
2020 /// Compression method to use for outbound requests. Defaults to no compression.
21- #[ serde(
22- default ,
23- alias = "compression" ,
24- alias = "compression_method" ,
25- alias = "request_compression_method"
26- ) ]
21+ #[ serde( default ) ]
2722 pub compression : Option < CompressionMethod > ,
2823
2924 /// Maximum number of concurrent in-flight requests allowed by the transport stack.
Original file line number Diff line number Diff line change @@ -24,18 +24,15 @@ pub struct GrpcServerSettings {
2424 /// and deflate (in that preference order).
2525 #[ serde(
2626 default ,
27- deserialize_with = "compression::deserialize_compression_methods" ,
28- alias = "compression_method" ,
29- alias = "request_compression_method"
27+ deserialize_with = "compression::deserialize_compression_methods"
3028 ) ]
3129 pub request_compression : Option < Vec < CompressionMethod > > ,
3230
3331 /// Compression methods used for responses. Defaults to no compression, falling back to the
3432 /// request list when explicitly configured via the legacy `compression_method` option.
3533 #[ serde(
3634 default ,
37- deserialize_with = "compression::deserialize_compression_methods" ,
38- alias = "response_compression_method"
35+ deserialize_with = "compression::deserialize_compression_methods"
3936 ) ]
4037 pub response_compression : Option < Vec < CompressionMethod > > ,
4138
You can’t perform that action at this time.
0 commit comments