parallel: Do not track median of failed jobs: They might fail very fast and skew the median.

This commit is contained in:
Ole Tange 2016-08-03 23:53:20 +02:00
parent 0724162ad4
commit 201eab34ab

View file

@ -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());
}