File tree 2 files changed +6
-1
lines changed 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
27
27
28
28
- The race condition for multiple ` FixedSize ` exemplar reservoirs identified in #5814 is resolved. (#5819 )
29
29
- Fix log records duplication in case of heterogeneous resource attributes by correctly mapping each log record to it's resource and scope. (#5803 )
30
+ - Fix timer channel drain to avoid hanging on Go 1.23. (#5868 )
30
31
31
32
<!-- Released section -->
32
33
<!-- Don't change this section unless doing release -->
Original file line number Diff line number Diff line change @@ -316,7 +316,11 @@ func (bsp *batchSpanProcessor) processQueue() {
316
316
bsp .batchMutex .Unlock ()
317
317
if shouldExport {
318
318
if ! bsp .timer .Stop () {
319
- <- bsp .timer .C
319
+ // Handle both GODEBUG=asynctimerchan=[0|1] properly.
320
+ select {
321
+ case <- bsp .timer .C :
322
+ default :
323
+ }
320
324
}
321
325
if err := bsp .exportSpans (ctx ); err != nil {
322
326
otel .Handle (err )
You can’t perform that action at this time.
0 commit comments