wu-sheng commented on code in PR #13703:
URL: https://github.com/apache/skywalking/pull/13703#discussion_r2837123618


##########
oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/alarm/HttpAlarmCallback.java:
##########
@@ -43,10 +48,7 @@ protected String post(
                 .timeout(Duration.ofSeconds(12));
         headers.forEach(request::header);
 
-        final var response = HttpClient
-                .newBuilder()
-                .followRedirects(HttpClient.Redirect.NORMAL)
-                .build()
+        final var response = HTTP_CLIENT

Review Comment:
   This was a client leak.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to