You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-11-25 22:41:46 +02:00
Add a comment
This commit is contained in:
@@ -201,6 +201,8 @@ loop:
|
||||
if !timer.Stop() {
|
||||
<-timer.C
|
||||
}
|
||||
// This is not needed normally, but use some timeout so we are not stuck
|
||||
// waiting for enqueueWait forever.
|
||||
const waitTimeout = 30 * time.Second
|
||||
timer.Reset(waitTimeout)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user