mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2026-04-07 16:13:17 +08:00
feat: 默认超时 8000ms
This commit is contained in:
@@ -63,7 +63,7 @@ export async function getFlowHeaders(
|
||||
proxy = proxy || eval('process.env.SUB_STORE_BACKEND_DEFAULT_PROXY');
|
||||
}
|
||||
const userAgent = ua || defaultFlowUserAgent || 'clash';
|
||||
const requestTimeout = timeout || defaultTimeout;
|
||||
const requestTimeout = timeout || defaultTimeout || 8000;
|
||||
const id = hex_md5(userAgent + url);
|
||||
const cached = headersResourceCache.get(id);
|
||||
let flowInfo;
|
||||
|
||||
Reference in New Issue
Block a user