[icinga-checkins] icinga.org: icinga-core/support/1.9: Disable initial cache fill.

git at icinga.org git at icinga.org
Sat Jun 22 17:53:42 CEST 2013


Module: icinga-core
Branch: support/1.9
Commit: cc06125a003ef59c34cf8d559c82fa89b672975b
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=cc06125a003ef59c34cf8d559c82fa89b672975b

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Mon Apr 29 13:38:35 2013 +0200

Disable initial cache fill.

---

 module/idoutils/src/db.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/module/idoutils/src/db.c b/module/idoutils/src/db.c
index d824d63..8eb7b8e 100644
--- a/module/idoutils/src/db.c
+++ b/module/idoutils/src/db.c
@@ -1801,7 +1801,7 @@ int ido2db_db_hello(ido2db_idi *idi) {
 
 	ido2db_log_debug_info(IDO2DB_DEBUGL_PROCESSINFO, 2, "ido2db_db_hello() get cached object ids\n");
 	/* get cached object ids... */
-	ido2db_get_cached_object_ids(idi);
+	/*ido2db_get_cached_object_ids(idi);*/
 
 	/* get latest times from various tables... */
 	ido2db_db_get_latest_data_time(idi, ido2db_db_tablenames[IDO2DB_DBTABLE_PROGRAMSTATUS], "status_update_time", (unsigned long *) &idi->dbinfo.latest_program_status_time);
@@ -2120,7 +2120,7 @@ int ido2db_thread_db_hello(ido2db_idi *idi) {
 #endif /* Oracle ocilib specific */
 	ido2db_log_debug_info(IDO2DB_DEBUGL_PROCESSINFO, 2, "ido2db_thread_db_hello() get cached object ids\n");
 	/* get cached object ids... */
-	ido2db_get_cached_object_ids(idi);
+	/*ido2db_get_cached_object_ids(idi);*/
 
 	/* get latest times from various tables... */
 	ido2db_db_get_latest_data_time(idi, ido2db_db_tablenames[IDO2DB_DBTABLE_PROGRAMSTATUS], "status_update_time", (unsigned long *) &idi->dbinfo.latest_program_status_time);
@@ -7924,4 +7924,3 @@ int ido2db_oci_bind_bigint(OCI_Statement *st, char * bindname, void ** data) {
 }
 */
 #endif /* Oracle ocilib specific */
-





More information about the icinga-checkins mailing list