Postgres max_connections=500 for the per-test-pool suite
Browse files at this commit3d61a9ecce300ecab5aa46025dfcb21b7e901dc0Parent: 8ae063d- chore
- postgres max_connections=500 for the per-test-pool suite
1 changed file +3 -0
- compose.yaml +3 -0
compose.yamlmodified+3 -0
| @@ -2,6 +2,9 @@ services: | |||
| 2 | postgres: | 2 | postgres: |
| 3 | image: docker.io/library/postgres:18-alpine | 3 | image: docker.io/library/postgres:18-alpine |
| 4 | container_name: hezarfen-postgres | 4 | container_name: hezarfen-postgres |
| 5 | + # 500 connections: the test suite mints a control+school pool per test | ||
| 6 | + # (nextest runs ~a dozen concurrently), which exhausts the 100 default. | ||
| 7 | + command: ["postgres", "-c", "max_connections=500"] | ||
| 5 | environment: | 8 | environment: |
| 6 | POSTGRES_USER: hezarfen | 9 | POSTGRES_USER: hezarfen |
| 7 | POSTGRES_PASSWORD: hezarfen | 10 | POSTGRES_PASSWORD: hezarfen |