From d538b8b44d300cec05fbb16fb6455ffea015a732 Mon Sep 17 00:00:00 2001 From: Adam Kaczmarek Date: Mon, 27 Feb 2023 11:47:44 -0500 Subject: [PATCH] Update 115-connection-pool.mdx wording --- .../000-working-with-prismaclient/115-connection-pool.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/200-concepts/100-components/02-prisma-client/000-working-with-prismaclient/115-connection-pool.mdx b/content/200-concepts/100-components/02-prisma-client/000-working-with-prismaclient/115-connection-pool.mdx index 119b7018d2..9ee132b100 100644 --- a/content/200-concepts/100-components/02-prisma-client/000-working-with-prismaclient/115-connection-pool.mdx +++ b/content/200-concepts/100-components/02-prisma-client/000-working-with-prismaclient/115-connection-pool.mdx @@ -24,7 +24,7 @@ The relational database connectors use Prisma's connection pool. The connection The following steps describe how the query engine uses the connection pool: 1. The query engine instantiates a connection pool with a [configurable pool size](#setting-the-connection-pool-size) and [pool timeout](#setting-the-connection-pool-timeout). -1. The query engine creates on connection and adds it to the connection pool. +1. The query engine creates one connection and adds it to the connection pool. 1. When a query comes in, the query engine reserves a connection from the pool to process query. 1. If there are no idle connections available in the connection pool, the query engine opens additional database connections and adds them to the connection pool until the number of database connections reaches the limit defined by `connection_limit`. 1. If the query engine cannot reserve a connection from the pool, queries are added to a FIFO (First In First Out) queue in memory. FIFO means that queries are processed in the order they enter the queue.