[tracker/experiment-miner-extractor-ipc] To reproduce



commit 5a0877bccf15b2eafbe418e4533293a4ac5cb938
Author: Philip Van Hoof <philip codeminded be>
Date:   Wed Feb 23 14:28:54 2011 +0100

    To reproduce

 src/miners/fs/tracker-miner-files.c |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index a3f87d0..5fbb4e4 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -2026,7 +2026,7 @@ extractor_get_embedded_metadata_cb (const gchar *preupdate,
 	}
 
 	/* Notify about the success */
-//	tracker_miner_fs_file_notify (TRACKER_MINER_FS (data->miner), data->file, NULL);
+	tracker_miner_fs_file_notify (TRACKER_MINER_FS (data->miner), data->file, NULL);
 
 	process_file_data_free (data);
 }
@@ -2413,19 +2413,19 @@ get_metadata_fast_queue_async (TrackerMinerFiles *miner,
 	g_ptr_array_add (miner->private->extract_queue, item);
 
 	if (miner->private->extract_queue->len > 5) {
-		flush_extract_queue_shared (miner);
+//		flush_extract_queue_shared (miner);
 	} else {
-		if (!miner->private->extract_queue_id) {
-			/* Automatic flush each second */
-			miner->private->extract_queue_id = g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, 10,
-			                                                               flush_extract_queue_idle,
-			                                                               g_object_ref (miner),
-			                                                               flush_extract_queue_destroy);
+//		if (!miner->private->extract_queue_id) {
+//			/* Automatic flush each second */
+//			miner->private->extract_queue_id = g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, 10,
+//			                                                               flush_extract_queue_idle,
+//			                                                               g_object_ref (miner),
+//			                                                               flush_extract_queue_destroy);
 		}
 	}
 
 	// fake one here
-	tracker_miner_fs_file_notify (miner, user_data->file, NULL);
+	//tracker_miner_fs_file_notify (miner, user_data->file, NULL);
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]