From the source
Vercel's post explains that the real problem with serverless compute and database connections is not the number of connections during normal operation, but connection leaks caused when functions are suspended.
It describes how Vercel Fluid Compute's waitUntil feature can close idle connections before suspension, and provides a one-line code example using attachDatabasePool from @vercel/functions.






