I have a large pool of feature requests that need to be performed on a PostgreSQL layer. Please assume that these requests cannot be joined into larger requests. If I spawn several threads to perform these requests, there is a limit of 4 database connections to fulfill these requests. All other threads are blocked waiting for one of these 4 connections to open.
Is there a way to increase this limit? Is this limit imposed by QGIS or by the PostgreSQL server?