Skip to content

Commit

Permalink
chore: pgbouncer使用session模式
Browse files Browse the repository at this point in the history
  • Loading branch information
damingerdai committed Jul 3, 2024
1 parent 3db2626 commit 524a50d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ services:
container_name: "pgbouncer"
environment:
- DATABASE_URL=postgres://postgres:123456@db:5432/postgres
- POOL_MODE=transaction
- POOL_MODE=session
- MAX_DB_CONNECTIONS=100
- DEFAULT_POOL_SIZE=40
- AUTH_TYPE=scram-sha-256
Expand Down

0 comments on commit 524a50d

Please sign in to comment.