Vercel Functions now support graceful shutdown

Vercel Functions running on Node.js and Python runtimes now support graceful shutdown, giving you up to 500 milliseconds to run cleanup tasks before termination. SIGTERM When a function is terminated, such as during scale-down, the runtime receives asignal. You can now use this signal to run…

dev

Sources