update timeout

This commit is contained in:
MaysWind
2024-09-09 01:34:27 +08:00
parent 470a74f420
commit 00c8259bd0
2 changed files with 12 additions and 0 deletions
+4
View File
@@ -1,4 +1,6 @@
const defaultTimeout = 10000; // 10s
const uploadTimeout = 30000; // 30s
const importTimeout = 120000; // 120s
const baseApiUrlPath = '/api';
const baseQrcodePath = '/qrcode';
const baseProxyUrlPath = '/proxy';
@@ -141,6 +143,8 @@ const parameterizedErrors = [
export default {
defaultTimeout: defaultTimeout,
uploadTimeout: uploadTimeout,
importTimeout: importTimeout,
baseApiUrlPath: baseApiUrlPath,
baseQrcodePath: baseQrcodePath,
baseProxyUrlPath: baseProxyUrlPath,