Closed rickc0811 closed 6 months ago
@rickc0811
嗨,似乎只能請你手動修改 vercel.json
中的 maxDuration
的值。
{
"rewrites": [
{
"source": "/(.*)",
"destination": "/api"
}
],
"functions": {
"api/**/*": {
"maxDuration": 300
}
}
}
因為沒有使用 Vercel 支援的框架,所以沒辦法動態修改。
謝謝你 改成300 可以正常始用了
On Mon, Feb 5, 2024, 23:29 Memo Chou @.***> wrote:
Closed #318 https://github.com/memochou1993/gpt-ai-assistant/issues/318 as completed.
— Reply to this email directly, view it on GitHub https://github.com/memochou1993/gpt-ai-assistant/issues/318#event-11705886857, or unsubscribe https://github.com/notifications/unsubscribe-auth/A54SRK7LWG4WL6SBQVLVBFTYSD3GTAVCNFSM6AAAAABCUZ4H2CVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRG4YDKOBYGY4DKNY . You are receiving this because you were mentioned.Message ID: @.*** com>
hi
請問大大能否把 vercel pro 版本的timeout 改長一點呢?
因為pro目前預設15秒 常常會有504問題
configurable up to 300s