Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #38085 - Cap the number of Puma workers at 100
Users can easily run out of PostgreSQL connections on large deployments. This provides a ceiling to the automatically calculated Puma workers because it's unclear if that really provides performance benefits while it can break deployments. Not noticable here, but foreman-installer defaults to max 500 PostgreSQL connections and has tuning options that to increase it to 1000. Ideally it would be smarter, but it's really hard to account for all possible conditions.
- Loading branch information