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



commit 006199748202f6863062955b6a55e3581e73c099
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 34e6c93..5db3089 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -4762,6 +4762,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]