Commit 17dd8247 authored by Haithem BEN GHORBAL's avatar Haithem BEN GHORBAL Committed by Carlos Garnacho

libtracker-miner: Reset of reentry counter is not needed anymore

Moreover, an infinite loop may occurs if process-file signal always fails.
parent a1ac15cc
......@@ -2089,14 +2089,6 @@ should_wait (TrackerMinerFS *fs,
return FALSE;
}
static void
item_reset_reentry_counter (TrackerMinerFS *fs,
GFile *file)
{
g_object_set_qdata (G_OBJECT (file),
fs->priv->quark_reentry_counter, NULL);
}
static gboolean
item_reenqueue_full (TrackerMinerFS *fs,
TrackerPriorityQueue *item_queue,
......@@ -2604,8 +2596,6 @@ item_queue_handlers_cb (gpointer user_data)
item_queue = fs->priv->items_updated;
}
item_reset_reentry_counter (fs, file);
/* Parent isn't indexed yet, reinsert the task into the queue,
* but forcily prepended by its parent so its indexing is
* ensured, tasks are inserted at a higher priority so they
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment