mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-22 20:57:53 +00:00
parallel: Do not track median of failed jobs: They might fail very fast and skew the median.
This commit is contained in:
parent
0724162ad4
commit
201eab34ab
|
@ -3472,7 +3472,7 @@ sub reaper {
|
|||
$sshlogin->inc_jobs_completed();
|
||||
# Free the jobslot
|
||||
$job->free_slot();
|
||||
if($opt::timeout) {
|
||||
if($opt::timeout and not $job->exitstatus()) {
|
||||
# Update average runtime for timeout
|
||||
$Global::timeoutq->update_median_runtime($job->runtime());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue