修改
This commit is contained in:
parent
1de6a87303
commit
9287973dc8
@ -129,8 +129,8 @@ public class RagHttpService {
|
||||
|
||||
try {
|
||||
// 配置 Unirest
|
||||
Unirest.config().reset();
|
||||
Unirest.config().socketTimeout(86400000);
|
||||
/* Unirest.config().reset();
|
||||
Unirest.config().socketTimeout(86400000);*/
|
||||
|
||||
// 发送上传请求
|
||||
HttpResponse<String> uploadResponse = Unirest.post(ragUploadReqVO.getUrl())
|
||||
@ -284,7 +284,7 @@ public class RagHttpService {
|
||||
updateFileState(documents, KnowledgeStatusEnum.UPLOADING);
|
||||
|
||||
// 初始化 Unirest 配置(只需一次)
|
||||
Unirest.config().socketTimeout(86400000);
|
||||
// Unirest.config().socketTimeout(86400000);
|
||||
|
||||
// 发送 POST 请求
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user