From 3394e86ea65bd9210e148443ac46e95903ad979e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 20 Dec 2025 21:49:23 +0100 Subject: Remove "computing digest" sub-job. It doesn't seem very helpful, and having a sub-job messes up progress reporting when examining lots of files (each of which doesn't take very long) as in the UI we just end up seeing the 0% of each sub-job one after the other. When we have a lot of sub jobs we really want to just report overall progress, I think, especially if the sub jobs will last roughly the same time. --- src/lib/content.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/lib') diff --git a/src/lib/content.cc b/src/lib/content.cc index 76b8eb666..8f486380a 100644 --- a/src/lib/content.cc +++ b/src/lib/content.cc @@ -167,12 +167,8 @@ Content::calculate_digest() const void -Content::examine(shared_ptr, shared_ptr job, bool) +Content::examine(shared_ptr, shared_ptr, bool) { - if (job) { - job->sub(_("Computing digest")); - } - auto const d = calculate_digest(); boost::mutex::scoped_lock lm(_mutex); -- cgit v1.2.3