Recommendation for postgres db max connection setting

Hi, I have a question about postgres db max connection setting. What is the recommended number for an app with 1000 regular users? The default is 115 but is too small for us. Thanks

The default max_connections set by Aptible for Postgres databases is 250. Did you change that default down to 115 or are you referring to the postgres default?

Determining the right number of max_connections is outside of the scope of what we can support but I did find this stack overflow post that provided some useful guidance on how to determine the right number based on your database usage.