responsible-ai-collaborative / aiid

The AI Incident Database seeks to identify, define, and catalog artificial intelligence incidents.
https://incidentdatabase.ai
Other
168 stars 35 forks source link

Mongo connections not being recycled when serving from gatsby develop or gatsby serve #2816

Open cesarvarela opened 3 months ago

cesarvarela commented 3 months ago

I think it could be what is causing this:

image

And some crashes when running gatsby devevelop locally.

cesarvarela commented 3 months ago

We manually open and close connections now, but this is still an issue.

If this causes more problems, we'll have to investigate moving the API to a node server or to lambdas/native netlify functions.