miki-hmt opened a new issue #6080:
URL: https://github.com/apache/dolphinscheduler/issues/6080
**Describe the question**
At present, the default read timeout of httptask component is 1 minute. For
some APIs that take a long time, an error - read timeout error will be directly
reported. Can the dolphin scheduler support the UI layer to configure the read
timeout parameter later?
```
/**
* request config
* @return RequestConfig
*/
private RequestConfig requestConfig() {
return
RequestConfig.custom().setSocketTimeout(MAX_CONNECTION_MILLISECONDS).setConnectTimeout(MAX_CONNECTION_MILLISECONDS).build();
}
```
**What are the current deficiencies and the benefits of improvement**
- After the read timeout UI configuration is supported, APIs that take a
long time to read and download some files can be used normally. Otherwise, the
httptask component function of the current system will be relatively weak
- At present, the read timeout is one minute by default. If the timeout
alarm function of httptask is set to more than one minute, it is useless,
because the read timeout error will trigger the task to stop before the timeout
alarm
**Which version of DolphinScheduler:**
-[1.3.7-release]
**Describe alternatives you've considered**
Look forward to the reply from the big guys!
--
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]