You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/core/qgsconnectionpool.h
+13-9Lines changed: 13 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@
19
19
#defineSIP_NO_FILE
20
20
21
21
#include"qgis.h"
22
+
#include"qgsapplication.h"
22
23
#include<QCoreApplication>
23
24
#include<QMap>
24
25
#include<QMutex>
@@ -29,8 +30,8 @@
29
30
#include<QThread>
30
31
31
32
32
-
#defineCONN_POOL_MAX_CONCURRENT_CONNS4
33
33
#defineCONN_POOL_EXPIRATION_TIME60// in seconds
34
+
#defineCONN_POOL_SPARE_CONNECTIONS2// number of spare connections in case all the base connections are used but we have a nested request with the risk of a deadlock
0 commit comments