Commit c444899d4b18f79ecbcbfa0a6a8d7d376bbe1a82
Merge branch 'fix/import-device' into 'main_dev'
修复导入设备过多时会响应超时 See merge request yunteng/thingskit-front!783
Showing
1 changed file
with
1 additions
and
0 deletions
@@ -10,6 +10,7 @@ export const batchImportDevice = (data: ImportDeviceParams) => { | @@ -10,6 +10,7 @@ export const batchImportDevice = (data: ImportDeviceParams) => { | ||
10 | { | 10 | { |
11 | url: BatchImportApi.IMPORT, | 11 | url: BatchImportApi.IMPORT, |
12 | data, | 12 | data, |
13 | + timeout: 1000 * 60 * 60, | ||
13 | }, | 14 | }, |
14 | { joinPrefix: false } | 15 | { joinPrefix: false } |
15 | ); | 16 | ); |