[tracker/writeback-refactor-rebase] libtracker-miner: Add code comment about endless retrying



commit 3144ff9ad02590548b4730dfc76f8cf5a07602cd
Author: Philip Van Hoof <philip codeminded be>
Date:   Mon Jul 18 12:25:51 2011 +0200

    libtracker-miner: Add code comment about endless retrying

 src/libtracker-miner/tracker-miner-fs.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index 022787b..2ccb46c 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -4637,6 +4637,11 @@ tracker_miner_fs_writeback_notify (TrackerMinerFS *fs,
 		/* This happens in case of exit() of the tracker-writeback binary, which
 		 * happens on unmount of the FS event, for example */
 
+		/* TODO: ideally the queue adds a wait time before it retries of a few
+		 * seconds. And also, ideally it doesn't retry for ever: if the
+		 * tracker-writeback binary crashes then the signature or the error-code
+		 * is the same. This would right now result in endless retrying */
+
 		path = g_file_get_path (file);
 
 		g_debug ("%s (WRITEBACK) (retry after unmount event)", path);



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