Commit f7ae91b3 authored by Leo Gordon's avatar Leo Gordon
Browse files


parent ad53b751
......@@ -554,7 +554,7 @@ sub release_undone_jobs_from_worker {
my $cod = $worker->cause_of_death();
my $msg = "GarbageCollector: The worker died because of $cod";
while(my ($job_id, $retry_count) = $sth->fetchrow_array()) {
my $resource_overusage = ($cod eq 'MEMLIMIT') or ($cod eq 'RUNLIMIT' and $worker->work_done()==0);
my $resource_overusage = ($cod eq 'MEMLIMIT') || ($cod eq 'RUNLIMIT' and $worker->work_done()==0);
my $passed_on = 0; # the flag indicating that the garbage_collection was attempted and was successful
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