We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d409d4 commit cd80d19Copy full SHA for cd80d19
exporters/otlp/src/otlp_grpc_client.cc
@@ -560,9 +560,11 @@ std::shared_ptr<OtlpGrpcClientAsyncData> OtlpGrpcClient::MutableAsyncData(
560
{
561
if (!async_data_)
562
563
- async_data_ = std::make_shared<OtlpGrpcClientAsyncData>();
564
- async_data_->export_timeout = options.timeout;
+ async_data_ = std::make_shared<OtlpGrpcClientAsyncData>();
+ async_data_->export_timeout = options.timeout;
565
+#ifdef ENABLE_ASYNC_EXPORT
566
async_data_->max_concurrent_requests = options.max_concurrent_requests;
567
+#endif
568
}
569
570
return async_data_;
0 commit comments