forked from floraachy/ImageKnife
修改网络请求超时设置
Signed-off-by: zgf <zenggaofeng2@h-partners.com>
This commit is contained in:
parent
483803a302
commit
dcdc17f51f
|
@ -6,6 +6,7 @@
|
||||||
- 增加降采样
|
- 增加降采样
|
||||||
- file格式图片,fd同步close
|
- file格式图片,fd同步close
|
||||||
- 解码pixelMap默认不可编辑,图形变化可编辑
|
- 解码pixelMap默认不可编辑,图形变化可编辑
|
||||||
|
- 修改网络请求超时设置
|
||||||
|
|
||||||
## 3.1.0-rc.2
|
## 3.1.0-rc.2
|
||||||
- 修复宽高不等svg图片显示有毛边
|
- 修复宽高不等svg图片显示有毛边
|
||||||
|
|
|
@ -479,8 +479,8 @@ async function requestJob(request: RequestJobRequest, requestList?: List<ImageKn
|
||||||
header: headerObj,
|
header: headerObj,
|
||||||
method: http.RequestMethod.GET,
|
method: http.RequestMethod.GET,
|
||||||
expectDataType: http.HttpDataType.ARRAY_BUFFER,
|
expectDataType: http.HttpDataType.ARRAY_BUFFER,
|
||||||
connectTimeout: 6000,
|
connectTimeout: 60000,
|
||||||
readTimeout: 6000,
|
readTimeout: 0,
|
||||||
// usingProtocol:http.HttpProtocol.HTTP1_1
|
// usingProtocol:http.HttpProtocol.HTTP1_1
|
||||||
// header: new Header('application/json')
|
// header: new Header('application/json')
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue