You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ML] Disable child span for streaming tasks (#132945)
There is the potential for a memory leak, depending on which thread
handles the onComplete message. Currently, the child span does not add
anything to debugging, so we will disable it until we can figure out
a clean way to propagate the child span's context throughout the stream.
In any case, it would be better to replace it entirely with a child span
capturing the outbound service call and response for both streaming and
non-streaming requests, so this may remain disabled in the long run
anyway in favor of that child span.
Copy file name to clipboardExpand all lines: x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/action/task/StreamingTaskManager.java
Copy file name to clipboardExpand all lines: x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/action/task/StreamingTaskManagerTests.java
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ public void setUp() throws Exception {
0 commit comments