chore: 默认 100 秒

This commit is contained in:
ChenZhaoYu 2023-04-08 11:57:41 +08:00
parent 44f00c95cd
commit ddc7066f4e
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ const ErrorCodeMessage: Record<string, string> = {
500: '[OpenAI] 服务器繁忙,请稍后再试 | Internal Server Error',
}
const timeoutMs: number = !isNaN(+process.env.TIMEOUT_MS) ? +process.env.TIMEOUT_MS : 30 * 1000
const timeoutMs: number = !isNaN(+process.env.TIMEOUT_MS) ? +process.env.TIMEOUT_MS : 100 * 1000
const disableDebug: boolean = process.env.OPENAI_API_DISABLE_DEBUG === 'true'
let apiModel: ApiModel