Automatic recursion protection for Vercel Functions
Vercel adds automatic recursion protection to Vercel Functions across all plans, requiring no code changes but a new deployment to prevent unintended self-triggering loops.
Vercel now has automatic recursion protection for Vercel Functions. This provides safety against your code inadvertently triggering itself repeatedly, incurring unintentional usage. Recursion protection supports using the module or in the Node.js runtime for Serverless Functions, both for user-defined code and dependencies. Requests using the bare constructor are not protected against recursion.httpfetchSocket Recursion protection is available free on all plans.
It does not require any code changes in your application, but does require a new deployment. Outbound requests now include the header of the request that originated the new fetch.x-vercel-id We’re continuing to invest in platform improvements to help developers and avoid unintended usage on the Vercel platform.understand and monitor usage Read more