Skip to content

Commit

Permalink
Merge branch 'main' into revert-automatic-version-number
Browse files Browse the repository at this point in the history
  • Loading branch information
Ignacio Bonafonte authored Jan 25, 2024
2 parents ec95f77 + 0106a86 commit b0778a2
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ public class OtlpHttpLogExporter : OtlpHttpExporterBase, LogRecordExporter {
}

public func export(logRecords: [OpenTelemetrySdk.ReadableLogRecord], explicitTimeout: TimeInterval? = nil) -> OpenTelemetrySdk.ExportResult {
pendingLogRecords.append(contentsOf: logRecords)
var sendingLogRecords: [ReadableLogRecord] = []

exporterLock.withLockVoid {
pendingLogRecords.append(contentsOf: logRecords)
sendingLogRecords = pendingLogRecords
Expand Down

0 comments on commit b0778a2

Please sign in to comment.