Commit a668a65
committed
ci(benchmarks): start Postgres with max_connections=300 in the bench workflow
The first Linux run failed in the DB tier with "FATAL: sorry, too many clients
already" (53300): the connection-budget and churn tiers deliberately push past
50 tenant connections, but the stock postgres:16-alpine service caps at
max_connections=100. GitHub Actions service containers can't override the
postgres command or mount a post-checkout config file, so the bench
postgres.bench.conf (max_connections=300, the same headroom the local
docker-compose uses) was never applied in CI.
Fix: drop postgres from the services block and start it as a step after
checkout via docker run, mounting benchmarks/postgres.bench.conf and pointing
postgres at it with -c config_file=. Redis stays a service. This mirrors the
local bench environment exactly, so CI and local exercise the same cap sweep.1 parent f633ebb commit a668a65
1 file changed
Lines changed: 25 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
16 | 21 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | 22 | | |
32 | 23 | | |
33 | 24 | | |
| |||
65 | 56 | | |
66 | 57 | | |
67 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
68 | 79 | | |
69 | 80 | | |
70 | 81 | | |
| |||
0 commit comments