Skip to content

Commit

Permalink
make fylr and postgreSQL agree on max open connections, see #71247
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausThornProgrammfabrik committed Feb 15, 2024
1 parent 9f84c4a commit ede6fc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions _assets/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ services:
-c work_mem=64MB
-c maintenance_work_mem=32MB
-c max_wal_size=512MB
-c max_connections=100
networks:
- fylr
logging:
Expand Down
2 changes: 1 addition & 1 deletion _assets/fylr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fylr+:
driver: "postgres"
dsn: "postgres://fylr:fylr@postgresql:5432/fylr?sslmode=disable"

maxOpenConns: 0
maxOpenConns: 100
maxIdleConns: 10
# The init block is used to pre-fill the database when its created or purged.
init:
Expand Down

0 comments on commit ede6fc4

Please sign in to comment.