Skip to content

Commit 8a5691c

Browse files
fix: disable connection reuse by default (#3440) (#3448)
(cherry picked from commit 405fd20) Co-authored-by: Tahir H. Butt <[email protected]>
1 parent 3e72cf0 commit 8a5691c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ddtrace/internal/writer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
DEFAULT_BUFFER_SIZE = 8 << 20 # 8 MB
5858
DEFAULT_MAX_PAYLOAD_SIZE = 8 << 20 # 8 MB
5959
DEFAULT_PROCESSING_INTERVAL = 1.0
60-
DEFAULT_REUSE_CONNECTIONS = True
60+
DEFAULT_REUSE_CONNECTIONS = False
6161

6262

6363
def get_writer_buffer_size():
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
features:
33
- |
4-
HTTP connections for trace payloads to the agent will be reused when possible.
4+
Add support to reuse HTTP connections when sending trace payloads to the agent. This feature is disabled by default. Set ``DD_TRACE_WRITER_REUSE_CONNECTIONS=true`` to enable this feature.

0 commit comments

Comments
 (0)