Skip to content

Commit

Permalink
Merge pull request #91 from fly-apps/switch_bouncer_mode
Browse files Browse the repository at this point in the history
Switch pgbouncer pool_mode to session
  • Loading branch information
DAlperin authored Feb 13, 2023
2 parents 5c02454 + e90b827 commit 829882f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/flypg/pgbouncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func (p *PGBouncer) setDefaults() {
"auth_file": fmt.Sprintf("%s/pgbouncer.auth", p.ConfigPath),
"admin_users": "postgres",
"user": "postgres",
"pool_mode": "transaction",
"pool_mode": sessionPooler,
"min_pool_size": "5",
"reserve_pool_size": "5",
"reserve_pool_timeout": "3",
Expand Down

0 comments on commit 829882f

Please sign in to comment.