Commit 4f66cf82 authored by Carlos Garnacho's avatar Carlos Garnacho

libtracker-miner: Cut some slack on the reentry counter

REENTRY_MAX is 2 currently, so counter<2 is effectively 1, which
doesn't make much for "reentry".
parent 92ff47c7
......@@ -2105,7 +2105,7 @@ item_reenqueue_full (TrackerMinerFS *fs,
reentry_counter = GPOINTER_TO_INT (g_object_get_qdata (G_OBJECT (queue_file),
if (reentry_counter < REENTRY_MAX) {
if (reentry_counter <= REENTRY_MAX) {
g_object_set_qdata (G_OBJECT (queue_file),
GINT_TO_POINTER (reentry_counter + 1));
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