I need to understand how Jmix (Spring?) manages database connections - specifically when are they created/closed and how a limit can be set.
My Jmix application is using a cloud hosted MySQL DB with a limit of 10 connections. Currently there is no one logged in or using the application, yet the DB is at the max 10 connections and other DB tools like Workbench are not able to connect.
How many connections should I plan for per user? For example, if I need to support 10 concurrent users plus additional stuff like async email sending, occasional quartz jobs, and some REST requests.