database connections #13966
Answered
by
papb
DaStormer
asked this question in
Help & Questions
database connections
#13966
-
hey, do any of these functions create a new connection every time they're used? findOne() I have a postgres database which is limited to 100 concurrent connections. When I use the above functions at scale, I start getting "too many clients already" errors. This leads me to believe that a new connection is created each time. I'm not sure if that's normal |
Beta Was this translation helpful? Give feedback.
Answered by
papb
Jan 18, 2022
Replies: 1 comment 3 replies
-
Can you try configuring your connection pool to different values and see if it helps? Thanks :) |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
DaStormer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you try configuring your connection pool to different values and see if it helps? Thanks :)