Write | instead of retrying when retrying:)
This commit is contained in:
2
pcurse
2
pcurse
@ -70,7 +70,7 @@ while(scalar(keys %jobs)) {
|
||||
if(exists($jobs{$jobid}->{'retried'})) {
|
||||
say 'Error during check: '.$jres[1];
|
||||
} else {
|
||||
print 'Retrying '.$jobs{$jobid}{'job'}->{'name'}."\n";
|
||||
print '|'."\n";
|
||||
$jobs{$jobid}{'job'}->{'retried'} = 1;
|
||||
my $workid = $pool->job('check', $jobs{$jobid}{'job'});
|
||||
$jobs{$workid}{'todo'} = 'check';
|
||||
|
||||
Reference in New Issue
Block a user