File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
opentelemetry-sdk/src/logs Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -633,7 +633,6 @@ impl<R: RuntimeChannel> BatchLogProcessorWithAsyncRuntime<R> {
633633 BatchMessageWithAsyncRuntime :: Flush ( res_channel) => {
634634 let result = export_with_timeout (
635635 config. max_export_timeout ,
636- //Arc::clone(&exporter ),
637636 & mut exporter,
638637 & timeout_runtime,
639638 logs. split_off ( 0 ) ,
@@ -653,7 +652,6 @@ impl<R: RuntimeChannel> BatchLogProcessorWithAsyncRuntime<R> {
653652 BatchMessageWithAsyncRuntime :: Shutdown ( ch) => {
654653 let result = export_with_timeout (
655654 config. max_export_timeout ,
656- //Arc::clone(&exporter ),
657655 & mut exporter,
658656 & timeout_runtime,
659657 logs. split_off ( 0 ) ,
@@ -701,7 +699,6 @@ impl<R: RuntimeChannel> BatchLogProcessorWithAsyncRuntime<R> {
701699#[ cfg( feature = "experimental_logs_batch_log_processor_with_async_runtime" ) ]
702700async fn export_with_timeout < E , R > (
703701 time_out : Duration ,
704- //exporter: Arc<Mutex<E>>,
705702 exporter : & mut E ,
706703 runtime : & R ,
707704 batch : Vec < ( LogRecord , InstrumentationScope ) > ,
You can’t perform that action at this time.
0 commit comments