Increase timeout before pulsing the progress bar for a job.
authorCarl Hetherington <cth@carlh.net>
Sun, 14 Jan 2024 23:48:43 +0000 (00:48 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 14 Jan 2024 23:48:43 +0000 (00:48 +0100)
src/wx/job_view.cc

index b98555e8a2b71f519c71c99a7e9a7f12801aa1df..41a1af0124bc808d7f6f7689b527c5a19ea3dd8b 100644 (file)
@@ -107,7 +107,7 @@ JobView::maybe_pulse ()
 {
        if (_gauge && _job->running()) {
                auto elapsed = _job->seconds_since_last_progress_update();
-               if (!_job->progress() || !elapsed || *elapsed > 2) {
+               if (!_job->progress() || !elapsed || *elapsed > 4) {
                        _gauge->Pulse ();
                }
        }