Skip to content

Commit a1e64a1

Browse files
authored
Update BatchSpanProcessor.swift
1 parent 09b6529 commit a1e64a1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Sources/OpenTelemetrySdk/Trace/SpanProcessors/BatchSpanProcessor.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ private class BatchWorker: Thread {
136136
let timeoutTimer = DispatchSource.makeTimerSource(queue: DispatchQueue.global())
137137
timeoutTimer.setEventHandler {
138138
exportOperation.cancel()
139-
140139
}
141140
let maxTimeOut = min(explicitTimeout ?? TimeInterval.greatestFiniteMagnitude, exportTimeout)
142141
timeoutTimer.schedule(deadline: .now() + .milliseconds(Int(maxTimeOut.toMilliseconds)), leeway: .milliseconds(1))

0 commit comments

Comments
 (0)