mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-02-09 13:37:12 +02:00
Add a comment
This commit is contained in:
parent
88d9ad0ba8
commit
28571207b7
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user