Commit f8dffcc8 authored by Carlos Garnacho's avatar Carlos Garnacho

tracker-miner-fs: Process only one item at a time

Despite us spawning a number of tasks (10 currently) to process
files in parallel, disk access is a bottleneck to them. Reduce
this to 1, it doesn't seem to impact performance that much, and
it does help in not processing files together that may not go
in the same SPARQL update batch.

This is irrelevant now, since the operation would be blocked by
the parent being still processed, but we want to lighten that
block in future commits.
parent 08a5cc5b
......@@ -2549,7 +2549,7 @@ tracker_miner_files_new (TrackerSparqlConnection *connection,
"root", NULL,
"config", config,
"domain", domain,
"processing-pool-wait-limit", 10,
"processing-pool-wait-limit", 1,
"processing-pool-ready-limit", 100,
NULL);
}
......
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