[tracker/tracker-0.10] libtracker-miner: Add code comment about endless retrying
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] libtracker-miner: Add code comment about endless retrying
- Date: Mon, 1 Aug 2011 16:17:35 +0000 (UTC)
commit b93fea8ca394bb484cc92335defa62f5ba685d8f
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 dd0a599..778ff50 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -4805,6 +4805,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]