[tracker] tracker-miner-fs: Don't add directories to index too eagerly
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-miner-fs: Don't add directories to index too eagerly
- Date: Tue, 13 Dec 2011 17:37:31 +0000 (UTC)
commit 40f76b2e9739c6540aa333e414b699a18334ef3b
Author: Carlos Garnacho <carlos lanedo com>
Date: Tue Dec 13 17:37:13 2011 +0100
tracker-miner-fs: Don't add directories to index too eagerly
ensure_mount_point_exists() is expected to create the sparql for
a mount point directory, not having it added to the
TrackerIndexingTree.
src/miners/fs/tracker-miner-files.c | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index 7f86d1a..442e889 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -693,23 +693,6 @@ ensure_mount_point_exists (TrackerMinerFiles *miner,
" nfo:fileLastModified \"1981-06-05T02:20:00Z\" . "
"}",
uri);
-
- /* Tell the underlying miner-fs about the mount point,
- * mtime is forced as the contents might have changed
- * since the last mount.
- */
- indexing_tree = tracker_miner_fs_get_indexing_tree (TRACKER_MINER_FS (miner));
- flags = TRACKER_DIRECTORY_FLAG_RECURSE |
- TRACKER_DIRECTORY_FLAG_CHECK_MTIME |
- TRACKER_DIRECTORY_FLAG_PRESERVE;
-
- if (tracker_config_get_enable_monitors (miner->private->config)) {
- flags |= TRACKER_DIRECTORY_FLAG_MONITOR;
- }
-
- tracker_indexing_tree_add (indexing_tree,
- mount_point,
- flags);
}
g_free (uri);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]