Closed LynchHarrison closed 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.
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