We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09b6529 commit a1e64a1Copy full SHA for a1e64a1
Sources/OpenTelemetrySdk/Trace/SpanProcessors/BatchSpanProcessor.swift
@@ -136,7 +136,6 @@ private class BatchWorker: Thread {
136
let timeoutTimer = DispatchSource.makeTimerSource(queue: DispatchQueue.global())
137
timeoutTimer.setEventHandler {
138
exportOperation.cancel()
139
-
140
}
141
let maxTimeOut = min(explicitTimeout ?? TimeInterval.greatestFiniteMagnitude, exportTimeout)
142
timeoutTimer.schedule(deadline: .now() + .milliseconds(Int(maxTimeOut.toMilliseconds)), leeway: .milliseconds(1))
0 commit comments