Skip to content

Commit

Permalink
Remvoe force_flush call after export
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomsonTan committed Jan 21, 2025
1 parent 55dfd62 commit eae55fe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions opentelemetry-sdk/src/logs/log_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,6 @@ impl BatchLogProcessor {
logs.split_off(0),
&mut last_export_time,
)

Check failure on line 483 in opentelemetry-sdk/src/logs/log_processor.rs

View workflow job for this annotation

GitHub Actions / lint

expected `;`, found `current_batch_size`
.await
.and(exporter.as_mut().force_flush());

current_batch_size.fetch_sub(count_of_logs, Ordering::Relaxed);
}
Expand Down

0 comments on commit eae55fe

Please sign in to comment.