Skip to content

Commit 829882f

Browse files
authored
Merge pull request #91 from fly-apps/switch_bouncer_mode
Switch pgbouncer pool_mode to session
2 parents 5c02454 + e90b827 commit 829882f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/flypg/pgbouncer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ func (p *PGBouncer) setDefaults() {
147147
"auth_file": fmt.Sprintf("%s/pgbouncer.auth", p.ConfigPath),
148148
"admin_users": "postgres",
149149
"user": "postgres",
150-
"pool_mode": "transaction",
150+
"pool_mode": sessionPooler,
151151
"min_pool_size": "5",
152152
"reserve_pool_size": "5",
153153
"reserve_pool_timeout": "3",

0 commit comments

Comments
 (0)