[icinga-checkins] icinga.org: icinga2/master: Increase query queue size for testing

git at icinga.org git at icinga.org
Fri Feb 12 14:15:30 CET 2016


Module: icinga2
Branch: master
Commit: 04a4049a4d2fef1f5c651e87a83854d2c8e6bf7f
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=04a4049a4d2fef1f5c651e87a83854d2c8e6bf7f

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Fri Feb 12 14:14:48 2016 +0100

Increase query queue size for testing

refs #10963

---

 lib/db_ido_mysql/idomysqlconnection.cpp |    2 +-
 lib/db_ido_pgsql/idopgsqlconnection.cpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/db_ido_mysql/idomysqlconnection.cpp b/lib/db_ido_mysql/idomysqlconnection.cpp
index 56ed3a0..840d400 100644
--- a/lib/db_ido_mysql/idomysqlconnection.cpp
+++ b/lib/db_ido_mysql/idomysqlconnection.cpp
@@ -39,7 +39,7 @@ REGISTER_TYPE(IdoMysqlConnection);
 REGISTER_STATSFUNCTION(IdoMysqlConnection, &IdoMysqlConnection::StatsFunc);
 
 IdoMysqlConnection::IdoMysqlConnection(void)
-	: m_QueryQueue(500000)
+	: m_QueryQueue(1000000)
 { }
 
 void IdoMysqlConnection::StatsFunc(const Dictionary::Ptr& status, const Array::Ptr& perfdata)
diff --git a/lib/db_ido_pgsql/idopgsqlconnection.cpp b/lib/db_ido_pgsql/idopgsqlconnection.cpp
index 5980689..3d5d1a6 100644
--- a/lib/db_ido_pgsql/idopgsqlconnection.cpp
+++ b/lib/db_ido_pgsql/idopgsqlconnection.cpp
@@ -41,7 +41,7 @@ REGISTER_TYPE(IdoPgsqlConnection);
 REGISTER_STATSFUNCTION(IdoPgsqlConnection, &IdoPgsqlConnection::StatsFunc);
 
 IdoPgsqlConnection::IdoPgsqlConnection(void)
-	: m_QueryQueue(500000)
+	: m_QueryQueue(1000000)
 { }
 
 void IdoPgsqlConnection::StatsFunc(const Dictionary::Ptr& status, const Array::Ptr& perfdata)



More information about the icinga-checkins mailing list