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



commit dbdb2198dc9aa2af4ba1b1f3b2bff4b7b9c2838c
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 f8be63b..cba9a15 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -4806,6 +4806,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]