Closed Gustry closed 1 year ago
@Gustry in the QGIS3.conf
do you have a default_timeout
defined for PostgreSQL
:
[PostgreSQL]
default_timeout=5
I'm talking about the hosting service @rldhont ... So I was wondering if Py-QGIS-Server was catching the exception ?
What exactly is this about ?
Two things:
A QGIS project is connecting to a PostgreSQL database to fetch layers. The connection pool for the user&password was full, so QGIS Server couldn't fetch data.
The "GetCapabilities" request was interrupted after a very long timeout from server with a 503 error.
It would be nice that such layers are considered "invalid" layer (like the "strict" mode in Py-QGIS-Server). When loading the given project, QGIS Server was blocking other QGIS projects to load.