Write | instead of retrying when retrying:)

This commit is contained in:
2019-08-04 19:23:05 +02:00
parent acc4a8f745
commit af6d1c3b4c

2
pcurse
View File

@ -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';