You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(db-*): do not exit process on error during connect (#14647)
This PR removes `process.exit(1)` from our exception handlers within db
connect methods. When a connection error occurred in vercel fluid
compute, it ungracefully shut down the entire compute process.
By re-throwing the error instead, [vercel is able to gracefully handle
the
error](https://vercel.com/changelog/improved-unhandled-node-js-errors-in-fluid-compute)
without shutting down concurrent requests running on the same compute
instance.
process.exit(1) [was initially added by this
commit](f3fee34#r169957812),
however noone was able to recall why it was added.
0 commit comments