chingu-voyages / v46-tier3-team-37

Add-project-description-here | Voyage-46 | https://chingu.io/ | Twitter: https://twitter.com/ChinguCollabs
https://v46-tier3-team-37-rent-a-wrench.vercel.app/
0 stars 2 forks source link

FIX - API - auth #77

Closed LynchHarrison closed 9 months ago

LynchHarrison commented 9 months ago

Currently the use of auth is creating a new connection to the prisma database every time any auth data is being grabbed.

This is where importing prisma from @lib/prisma (reusing the same connection) is needed

Image

SeanPaulson commented 9 months ago

If we get a chance to set up connection pooling that would help resolve that issue. I can look into what options are available and see if I can set it up.

Also a reverse proxy server with load balancing and better security lol 😅.... but definitely a pooling manager.