[tracker/miner-fs-refactor: 78/119] libtracker-miner: Use level order when traversing the filesystem tree



commit 5f017bddfcefccbb6452b0e5fcd14072e0112587
Author: Carlos Garnacho <carlos lanedo com>
Date:   Tue Oct 4 18:06:59 2011 +0200

    libtracker-miner: Use level order when traversing the filesystem tree
    
    This is most similar to how TrackerMinerFS used to work, and results in
    less "miner stopped due to parent being indexed" situations than
    G_PRE_ORDER.

 src/libtracker-miner/tracker-file-notifier.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-file-notifier.c b/src/libtracker-miner/tracker-file-notifier.c
index f419d11..9c97dd0 100644
--- a/src/libtracker-miner/tracker-file-notifier.c
+++ b/src/libtracker-miner/tracker-file-notifier.c
@@ -245,7 +245,7 @@ file_notifier_traverse_tree (TrackerFileNotifier *notifier)
 	priv = notifier->priv;
 	tracker_file_system_traverse (priv->file_system,
 				      priv->pending_index_roots->data,
-				      G_PRE_ORDER,
+				      G_LEVEL_ORDER,
 				      file_notifier_traverse_tree_foreach,
 				      notifier);
 



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