Commit 695cf3b6 authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

cause_of_death can be undefined here (for local meadows, for instance)

parent cfd8bdf9
......@@ -460,7 +460,7 @@ sub release_undone_jobs_from_role {
} );
my $cod = $worker->cause_of_death();
my $cod = $worker->cause_of_death() || 'UNKNOWN';
$msg ||= "GarbageCollector: The worker died because of $cod";
my $resource_overusage = ($cod eq 'MEMLIMIT') || ($cod eq 'RUNLIMIT' and $worker->work_done()==0);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment