86dbcbea43
### What?
Update to
[examples/with-mongodb](https://github.com/vercel/next.js/tree/canary/examples/with-mongodb)
to incorporate fix from the MongoDB team. This should prevent
intermittent serverless function timeouts due to cached promise.
### Why?
Vercel users reported intermittent 500 errors when connecting to their
MongoDB Atlas clusters in production environments.
Full bug report: [NODE-6179](https://jira.mongodb.org/browse/NODE-6179)
Related issues:
- [10671](https://github.com/vercel/vercel/issues/10671)
- [5708](https://github.com/orgs/vercel/discussions/5708)
- [4297](https://github.com/orgs/vercel/discussions/4297)
### How?
Solution by @baileympearson – thank you 🖤
[View
commit](
|
||
---|---|---|
.. | ||
index.tsx |