perf: 专线代理配置
This commit is contained in:
@@ -76,7 +76,7 @@ export async function generateAbstract(next = false): Promise<any> {
|
||||
},
|
||||
{
|
||||
timeout: 120000,
|
||||
httpsAgent
|
||||
httpsAgent: httpsAgent(!userApiKey)
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -91,7 +91,7 @@ export async function generateQA(next = false): Promise<any> {
|
||||
},
|
||||
{
|
||||
timeout: 180000,
|
||||
httpsAgent
|
||||
httpsAgent: httpsAgent(!userApiKey)
|
||||
}
|
||||
)
|
||||
.then((res) => {
|
||||
|
||||
Reference in New Issue
Block a user