[icinga-checkins] icinga.org: icinga-core/mfriedrich/mysql: Spread the list of linked lists thinner (extend objects hash slots) ( Opsera Ltd)

git at icinga.org git at icinga.org
Tue Apr 20 13:35:53 CEST 2010


Module: icinga-core
Branch: mfriedrich/mysql
Commit: 619d140ce4b45422e0789823c6bdc5806b71dc22
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=619d140ce4b45422e0789823c6bdc5806b71dc22

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Tue Apr 20 13:33:35 2010 +0200

Spread the list of linked lists thinner (extend objects hash slots) (Opsera Ltd)

fixes #358

---

 Changelog                        |    4 +++-
 base/.gitignore                  |    1 +
 module/idoutils/include/ido2db.h |    3 ++-
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/Changelog b/Changelog
index 75c66d5..8ed9b88 100644
--- a/Changelog
+++ b/Changelog
@@ -2,9 +2,11 @@
 Icinga 1.0.x Change Log
 #######################
 
-1.0.x ??/??/2010
+1.0.2 - 30/06/2010
 
 ENHANCEMENTS
+* idoutils: Spread the list of linked lists thinner (extend objects hash slots) (Opsera Ltd)
+
 
 FIXES
 * core: fix spurious dollar signs added to command_lines (Alexander Wirt)
diff --git a/base/.gitignore b/base/.gitignore
index 4ef67b0..2e45378 100644
--- a/base/.gitignore
+++ b/base/.gitignore
@@ -2,3 +2,4 @@
 Makefile
 icinga
 icingastats
+perlxsi.c
diff --git a/module/idoutils/include/ido2db.h b/module/idoutils/include/ido2db.h
index cbb9c4f..45f7a12 100644
--- a/module/idoutils/include/ido2db.h
+++ b/module/idoutils/include/ido2db.h
@@ -246,7 +246,8 @@ typedef struct ndo2db_input_data_info_struct{
 
 /*************** misc definitions **************/
 #define NDO2DB_INPUT_BUFFER                             1024
-#define NDO2DB_OBJECT_HASHSLOTS                         1024
+/* #define NDO2DB_OBJECT_HASHSLOTS                         1024 */
+#define NDO2DB_OBJECT_HASHSLOTS                         50240	/* Altinity patch: Spread the list of linked lists thinner */
 
 
 /*********** types of input sections ***********/





More information about the icinga-checkins mailing list