forge
Explore
Log in

Don't you dare go Hollow

Postgres max_connections=500 for the per-test-pool suite

Browse files at this commit

3d61a9ecce300ecab5aa46025dfcb21b7e901dc0Ahmet Kaan GümüşParent: 8ae063d
  • chore
    • postgres max_connections=500 for the per-test-pool suite
Show full message
🗃️ chore: postgres max_connections=500 for the per-test-pool suite
compose.yamlmodified+3 -0
@@ -2,6 +2,9 @@ services:
2 postgres:2 postgres:
3 image: docker.io/library/postgres:18-alpine3 image: docker.io/library/postgres:18-alpine
4 container_name: hezarfen-postgres4 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: hezarfen9 POSTGRES_USER: hezarfen
7 POSTGRES_PASSWORD: hezarfen10 POSTGRES_PASSWORD: hezarfen