Skip to content

Commit 13db962

Browse files
committed
rename timeout from export method name
1 parent 74a71be commit 13db962

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opentelemetry-sdk/src/logs/log_processor.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ impl BatchLogProcessor {
525525
let count_of_logs = logs.len(); // Count of logs that will be exported
526526
total_exported_logs += count_of_logs;
527527

528-
result = export_with_timeout_sync(exporter, logs, last_export_time); // This method clears the logs vec after exporting
528+
result = export_batch_sync(exporter, logs, last_export_time); // This method clears the logs vec after exporting
529529

530530
current_batch_size.fetch_sub(count_of_logs, Ordering::Relaxed);
531531
}
@@ -651,7 +651,7 @@ impl BatchLogProcessor {
651651
}
652652

653653
#[allow(clippy::vec_box)]
654-
fn export_with_timeout_sync<E>(
654+
fn export_batch_sync<E>(
655655
exporter: &E,
656656
batch: &mut Vec<Box<(LogRecord, InstrumentationScope)>>,
657657
last_export_time: &mut Instant,

0 commit comments

Comments
 (0)