SbloodyS commented on code in PR #16413:
URL: 
https://github.com/apache/dolphinscheduler/pull/16413#discussion_r1703446226


##########
dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/OkHttpUtils.java:
##########
@@ -35,53 +39,116 @@
 
 public class OkHttpUtils {
 
-    private static final OkHttpClient CLIENT = new OkHttpClient.Builder()
-            .connectTimeout(5, TimeUnit.MINUTES) // connect timeout
-            .writeTimeout(5, TimeUnit.MINUTES) // write timeout
-            .readTimeout(5, TimeUnit.MINUTES)
-            .build();
-
-    public static @NonNull String get(@NonNull String url,
-                                      @Nullable Map<String, String> 
httpHeaders,
-                                      @Nullable Map<String, Object> 
requestParams) throws IOException {
+    private static OkHttpClient CLIENT = new OkHttpClient();
+
+    public static @NonNull OkHttpResponse get(@NonNull String url,

Review Comment:
   Fixed.



-- 
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