cilice
PPrisma
•Created by cilice on 4/9/2025 in #help-and-questions
Keep the possibility to pass an existing Pool to `@prisma/adapter-pg`
To explain the context a bit more: with using RDS, we have to keep an eye on the used number of possible connections to the database because of a limit.
11 replies
PPrisma
•Created by cilice on 4/9/2025 in #help-and-questions
Keep the possibility to pass an existing Pool to `@prisma/adapter-pg`
It made sense in our context to keep it together, but I understand the general divide. I just would welcome to keep the option to provide a pool yourself.
11 replies
PPrisma
•Created by cilice on 4/9/2025 in #help-and-questions
Keep the possibility to pass an existing Pool to `@prisma/adapter-pg`
We have set up the work with sharing the connection pool with different tools, that also use that pool, to maximize the connection pool limit between the different tools used for a background work runner (pg-boss).
Now we have to split the connections again, to reserve some for pg-boss and some for Prisma, because it’s a 2 different pools.
11 replies
PPrisma
•Created by cilice on 4/9/2025 in #help-and-questions
Keep the possibility to pass an existing Pool to `@prisma/adapter-pg`
Hey, yes, exactly. It’s cool that you don’t have to provide a pool yourself, but keeping the option to provide it would be great.
11 replies