How many database connections?

I have a question from a prospective customer asking how many database connections Mendix consumes. Say they have 400 Mx licenses and all 400 are in use, will those 400 users be queued to use a single database connection, will they generate 400 connections, or are there a defined number of threads/queues? Do scheduled events run on the same thread as normal users (do users get blocked by long-running scheduled events)?
1 answers

The runtime uses a number of connections, these can be configured in application.conf:

#ConnectionPoolingMinIdle = 0
#ConnectionPoolingMaxIdle = 20
#ConnectionPoolingMaxActive = 50

etc etc