[tracker/miner-fs-refactor: 78/93] libtracker-miner: Use level order when traversing the filesystem tree
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/miner-fs-refactor: 78/93] libtracker-miner: Use level order when traversing the filesystem tree
- Date: Fri, 7 Oct 2011 09:50:24 +0000 (UTC)
commit 832d011f3b876864ec995f5dddf8f4bd0689488d
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]