跳到正文
Vercel 博客· Gal Schlezinger·· 19 小时前AI 评分27

Vercel Daemons 添加 HTTP 存活检查功能

Add liveness checks to your Daemons

AI 导读

Vercel Daemons 现支持配置 HTTP 存活检查,通过指定端口和路径实现对后台进程健康状态的监控。当检测到进程不健康时,系统会自动重启容器,确保服务持续可用。该功能通过在 daemon 中设置轻量级健康端点并返回对应状态码实现,配置方式已在 vercel.json 中展示。

来源:Vercel 博客 · vercel.com