Commit bf9bdedb authored by Carlos Garnacho's avatar Carlos Garnacho

tracker-miner-fs: Check tracker:available on "pending extract" query

The tracker-extract side will ignore those, so we may spuriously fall
in a restart loop here.
parent 8160aa0b
Pipeline #40505 passed with stage
in 1 minute and 30 seconds
......@@ -515,6 +515,7 @@ tracker_miner_files_init (TrackerMinerFiles *mf)
priv->extract_check_query = g_strdup_printf ("SELECT ?u { "
" GRAPH <" TRACKER_OWN_GRAPH_URN "> {"
" ?u a nfo:FileDataObject ;"
" tracker:available true ; "
" a ?class . "
" FILTER (?class IN (%s) && "
" NOT EXISTS { ?u nie:dataSource <" TRACKER_EXTRACT_DATA_SOURCE "> })"
......
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