Skip to content

Commit fea9de9

Browse files
committed
merge error
1 parent ad086dc commit fea9de9

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

python/core/auto_generated/qgsapplication.sip.in

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,12 +791,23 @@ Do not include generated variables (like system name, user name etc.)
791791
.. versionadded:: 3.0
792792
%End
793793

794-
795794
static void setCustomVariable( const QString &name, const QVariant &value );
796795
%Docstring
797796
Set a single custom expression variable.
798797

799798
.. versionadded:: 3.0
799+
%End
800+
801+
int maxConcurrentConnectionsPerPool() const;
802+
%Docstring
803+
The maximum number of concurrent connections per connections pool.
804+
805+
.. note::
806+
807+
QGIS may in some situations allocate more than this amount
808+
of connections to avoid deadlocks.
809+
810+
.. versionadded:: 3.4
800811
%End
801812

802813
void collectTranslatableObjects( QgsTranslationContext *translationContext );

src/core/qgsapplication.h

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,14 +725,23 @@ class CORE_EXPORT QgsApplication : public QApplication
725725
*/
726726
static void setCustomVariables( const QVariantMap &customVariables );
727727

728-
729728
/**
730729
* Set a single custom expression variable.
731730
*
732731
* \since QGIS 3.0
733732
*/
734733
static void setCustomVariable( const QString &name, const QVariant &value );
735734

735+
/**
736+
* The maximum number of concurrent connections per connections pool.
737+
*
738+
* \note QGIS may in some situations allocate more than this amount
739+
* of connections to avoid deadlocks.
740+
*
741+
* \since QGIS 3.4
742+
*/
743+
int maxConcurrentConnectionsPerPool() const;
744+
736745
/**
737746
* Emits the signal to collect all the strings of .qgs to be included in ts file
738747
*

0 commit comments

Comments
 (0)