Skip to content

Commit 97b7e3e

Browse files
committed
docs(supabase): update connection pooler configuration
Modify Supavisor session mode settings in documentation - Adjust pool mode from transaction to session - Update default pool size from 20 to 50
1 parent e0e6726 commit 97b7e3e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pkgs/pgflow.dev/src/content/docs/edge-worker/prepare-environment.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ If not, see Supabase's [installation guide](https://supabase.com/docs/guides/cli
5858
1. ### Setup Connection Pool
5959

6060
Modify the `db.pooler` section in your `supabase/config.toml` file
61-
to switch to Supavisor **Session Mode**. It's also good to increase the
62-
default pool size:
61+
to switch to Supavisor **Session Mode**:
6362

6463
```diff lang="toml"
6564
[db.pooler]
@@ -71,8 +70,7 @@ If not, see Supabase's [installation guide](https://supabase.com/docs/guides/cli
7170
- pool_mode = "transaction"
7271
+ pool_mode = "session"
7372
# How many server connections to allow per user/database pair.
74-
- default_pool_size = 20
75-
+ default_pool_size = 50
73+
default_pool_size = 20
7674
# Maximum number of client connections allowed.
7775
max_client_conn = 100
7876
```

0 commit comments

Comments
 (0)