[tracker/miner-extractor-ipc: 5/7] miner-fs: Use a second instead of 10 seconds for autoflush



commit 8847c8ddef14944af4133f4b59c1817eddb2d949
Author: Philip Van Hoof <philip codeminded be>
Date:   Thu Feb 24 18:00:49 2011 +0100

    miner-fs: Use a second instead of 10 seconds for autoflush

 src/miners/fs/tracker-miner-files.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index 9832f98..79a434c 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -2366,7 +2366,7 @@ get_metadata_fast_queue_async (TrackerMinerFiles *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,
+			miner->private->extract_queue_id = g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, 1,
 			                                                               flush_extract_queue_idle,
 			                                                               g_object_ref (miner),
 			                                                               flush_extract_queue_destroy);



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