diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-11-15 23:41:22 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-11-22 23:26:18 +0000 |
| commit | 63bce67bd548f4aff98e2a1963e1fd77a6412a15 (patch) | |
| tree | 44cb9fddd35817db51f79685a67b50050cddd56c /src/lib/job.cc | |
| parent | 620b7761a33d2e3641cd911bfe58e0fbb928c888 (diff) | |
Speed up content discovery:
1. add all discovery jobs immediately rather than waiting for
each one to finish (by polling) before starting the next.
2. replace polling with a condition in JobManager.
Diffstat (limited to 'src/lib/job.cc')
| -rw-r--r-- | src/lib/job.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/job.cc b/src/lib/job.cc index dde8cce62..763005b57 100644 --- a/src/lib/job.cc +++ b/src/lib/job.cc @@ -288,6 +288,7 @@ Job::set_state (State s) if (finished) { emit (boost::bind (boost::ref (Finished))); + FinishedImmediate (); } } |
