From eae55feeb62f9e530bf9f0d85b7caef2d6ae1a2c Mon Sep 17 00:00:00 2001 From: Tom Tan Date: Tue, 21 Jan 2025 15:25:19 -0800 Subject: [PATCH] Remvoe force_flush call after export --- opentelemetry-sdk/src/logs/log_processor.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/opentelemetry-sdk/src/logs/log_processor.rs b/opentelemetry-sdk/src/logs/log_processor.rs index 8bd3d514db..56fac409cd 100644 --- a/opentelemetry-sdk/src/logs/log_processor.rs +++ b/opentelemetry-sdk/src/logs/log_processor.rs @@ -481,8 +481,6 @@ impl BatchLogProcessor { logs.split_off(0), &mut last_export_time, ) - .await - .and(exporter.as_mut().force_flush()); current_batch_size.fetch_sub(count_of_logs, Ordering::Relaxed); }