Vercel在api中获取DELETE请求超时

时间:2021-04-05 03:59:16

标签: vercel

Status: -1
Duration: 10010.34 ms
Init Duration: N/A
Memory Used: 96 MB
ID: xxx-xxxx-xxxxx
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36


2021-04-05T03:51:48.147Z 2d0a2a4a-3226-4aeb-80f3-2fdc2c2 Task timed out after 10.01 seconds

处理程序在开发中成功运行, 但在 vercel 中,请求超时。但是任务成功完成,只有响应

我添加了一些调试日志

[Project Slug][debug] Incoming request DELETE sample-project-1617594689157
[Project Slug][debug] Handling delete for projectsample-project-1617594689157
*...handling logic and details printed properly here...
[Project Slug][debug] Handled delete for projectsample-project-1617594689157

显示正确。

0 个答案:

没有答案