fix: 增加文件下载超时时间至600秒

This commit is contained in:
TsMask
2025-03-21 16:23:43 +08:00
parent c11227d747
commit f87fcb73b9
3 changed files with 4 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ export function getNeFile(query: Record<string, any>) {
method: 'get',
params: query,
responseType: 'blob',
timeout: 180_000,
timeout: 600_000,
});
}
@@ -35,7 +35,7 @@ export function getNeDirZip(data: Record<string, any>) {
method: 'get',
params: data,
responseType: 'blob',
timeout: 60_000,
timeout: 600_000,
});
}

View File

@@ -76,7 +76,7 @@ export function filePullTask(traceId: string) {
method: 'get',
params: { traceId },
responseType: 'blob',
timeout: 60_000,
timeout: 600_000,
});
}

View File

@@ -78,6 +78,6 @@ export function filePullTaskHLR(query: Record<string, any>) {
method: 'get',
params: query,
responseType: 'blob',
timeout: 60_000,
timeout: 600_000,
});
}