shipfeedAI news, curated daily

23:55:22 CET
20 MAY23:55:22shipfeed
pull to refreshlast sync
Just in — 30 new
§ feed · storyline

Vercel Functions now support graceful shutdown

Vercel Functions on Node.js and Python runtimes now support graceful shutdown, allowing up to 500ms for cleanup tasks such as closing database connections on SIGTERM.

Sep 8 · · primary fetch1 sourceupdated Sep 8 ·

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. When a function is terminated, such as during scale-down, the runtime receives a signal.

You can now use this signal to run cleanup tasks like closing database connections or flushing external logs.SIGTERM Learn more about the .SIGTERM signal Read more

read full article on vercel.com
§ sources1 publication · timeline below
  1. vercel.comVercel Functions now support graceful shutdownprimary