Forums

MYSQL DB connections limit

The current limit of 3 connections to the DB seems a bit limited, would it be possible to have at least 5? Thanks

We base the number of connections on the number of web apps and web workers that you have. It's currently webapps * workers * 3.

BTW what do you need the extra connections for? If it's for a web app, then 3 per web app worker should be fine if you're using a connection manager (Django's, or SQLAlchemy or something like that). And using a connection manager is a good idea generally, as it significantly improves performance.

If it's for another reason, let us know.