Skip to content

Commit

Permalink
Update sdk/trace/batch_span_processor.go
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
  • Loading branch information
pkwarren and MrAlias committed Oct 29, 2021
1 parent c7e4c51 commit 4eb4f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/trace/batch_span_processor.go
Expand Up @@ -269,7 +269,7 @@ func (bsp *batchSpanProcessor) processQueue() {
case sd := <-bsp.queue:
if ffs, ok := sd.(forceFlushSpan); ok {
close(ffs.flushed)
return
continue
}
bsp.batchMutex.Lock()
bsp.batch = append(bsp.batch, sd)
Expand Down

0 comments on commit 4eb4f2b

Please sign in to comment.