Skip to content
Discussion options

You must be logged in to vote

I think the important distinction here is that connection_limit is not really the knob to use for this problem in Prisma 7.

In Prisma 6, connection_limit, connect_timeout, and pool_timeout were URL parameters for Prisma's built-in connection pool. In Prisma 7, the connection-pool configuration moved to the database driver/adapter (for example, max and connectionTimeoutMillis for @prisma/adapter-pg).

Also, prisma migrate deploy is not using the Prisma Client connection pool in the same way your application does. Its job is simply to apply the migration files to the configured datasource, and Prisma's v7 docs don't expose a connection_limit option for migrate deploy.

So for this particular P…

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jceb
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants