|
|
@@ -193,10 +193,7 @@ async function postLepaoSchool(url, data, options = {}) {
|
|
|
|
|
|
await logSchoolOutbound(logger, '首次请求', url, frag)
|
|
|
try {
|
|
|
- const proxyFirstTimeoutMs = Math.max(
|
|
|
- 1000,
|
|
|
- Number(process.env.LEPAO_PROXY_FIRST_TIMEOUT_MS || Math.min(timeout, 6000))
|
|
|
- )
|
|
|
+ const proxyFirstTimeoutMs = 10000
|
|
|
return await doPost(frag, proxyFirstTimeoutMs)
|
|
|
} catch (e1) {
|
|
|
if (!isQgProxyEligibleFailure(e1)) throw e1
|