Skip to content

Commit

Permalink
ddtrace/tracer: fix flaky test TestTraceWriterFlushRetries
Browse files Browse the repository at this point in the history
  • Loading branch information
ajgajg1134 committed Dec 5, 2023
1 parent 0ba5955 commit 07bc318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddtrace/tracer/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ func (h *agentTraceWriter) flush() {
p.clear()

<-h.climit
h.wg.Done()
h.statsd.Timing("datadog.tracer.flush_duration", time.Since(start), nil, 1)
h.wg.Done()
}(time.Now())

var count, size int
Expand Down

0 comments on commit 07bc318

Please sign in to comment.