2 months ago
Hi — on the Postgres HA template (Patroni-based), what's the supported way to increase max_connections above 200?
3 Replies
Status changed to Awaiting Railway Response Railway • 2 months ago
2 months ago
This thread has been opened as a bounty so the community can help solve it.
Status changed to Open Railway • 2 months ago
2 months ago
You can use below environment variable.
HAPROXY_MAX_CONN=1000
https://github.com/railwayapp-templates/postgres-ha#environment-variables
Attachments
sonia_iqbal
You can use below environment variable. HAPROXY_MAX_CONN=1000 https://github.com/railwayapp-templates/postgres-ha#environment-variables 
2 months ago
What you sent is being used for HAPROXY max connection not postgresql, and its default it 1000, and mine set on 10000 and still have 200 issue.
2 months ago
Can anybody help me on this?