From 0ff9b1e6984002a0096677c6e166f1d0358f764f Mon Sep 17 00:00:00 2001 From: Bruce Bujon Date: Tue, 21 Jan 2025 08:50:47 +0100 Subject: [PATCH] fix(core): Revert drain limit --- .../src/main/java/datadog/trace/core/PendingTraceBuffer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dd-trace-core/src/main/java/datadog/trace/core/PendingTraceBuffer.java b/dd-trace-core/src/main/java/datadog/trace/core/PendingTraceBuffer.java index 8596a6e8d95..219352bf6df 100644 --- a/dd-trace-core/src/main/java/datadog/trace/core/PendingTraceBuffer.java +++ b/dd-trace-core/src/main/java/datadog/trace/core/PendingTraceBuffer.java @@ -245,7 +245,7 @@ public void run() { if (pendingTrace instanceof FlushElement) { // Since this is an MPSC queue, the drain needs to be called on the consumer thread - queue.drain(WriteDrain.WRITE_DRAIN, 50); + queue.drain(WriteDrain.WRITE_DRAIN); flushCounter.incrementAndGet(); continue; }