summaryrefslogtreecommitdiff
path: root/src/lib/job.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-08-26 00:38:17 +0200
committerCarl Hetherington <cth@carlh.net>2023-08-26 00:38:17 +0200
commit29e45a5b851a3117ef568c72a4aab068a80a3430 (patch)
tree902937510176cfe23a33bc50fb53ef3cdbe4d739 /src/lib/job.h
parent556d0dfce7577d6bad33d246a37f00a7627c295a (diff)
Give more details when jobs finish (#2572).
Diffstat (limited to 'src/lib/job.h')
-rw-r--r--src/lib/job.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/job.h b/src/lib/job.h
index 5562afc16..8edde6845 100644
--- a/src/lib/job.h
+++ b/src/lib/job.h
@@ -152,6 +152,7 @@ private:
/** time that this sub-job was started */
time_t _sub_start_time;
std::string _sub_name;
+ time_t _finish_time = 0;
/** mutex for _progress and _last_progress_update */
mutable boost::mutex _progress_mutex;
@@ -162,8 +163,6 @@ private:
this could be a general _state_change if it made more sense.
*/
boost::condition_variable _pause_changed;
-
- int _ran_for;
};
#endif