diff --git a/src/server/server.rs b/src/server/server.rs index 4c0ecba8230..e5326a651a9 100644 --- a/src/server/server.rs +++ b/src/server/server.rs @@ -102,6 +102,8 @@ where .http2_max_ping_strikes(i32::MAX) // For pings without data from clients. .keepalive_time(self.cfg.value().grpc_keepalive_time.into()) .keepalive_timeout(self.cfg.value().grpc_keepalive_timeout.into()) + .default_compression_algorithm(self.cfg.value().grpc_compression_algorithm()) + .default_gzip_compression_level(self.cfg.value().grpc_gzip_compression_level) .build_args(); let sb = ServerBuilder::new(Arc::clone(&env))