ResultSet::TaskRetries: add missing method, get_retryable_task

Yet again, manual testing is proving to be insufficient. I'm pretty
sure I wrote this code but lost it in a rebase, or perhaps the switch
to result classes.

At any rate, this implements the actual "fetch a retry row and run it"
for the hydra-notify daemon.

Tested by hand.
This commit is contained in:
Graham Christensen
2021-09-07 10:56:52 -04:00
parent d6aa3f8d15
commit b1879132af
3 changed files with 90 additions and 4 deletions

View File

@ -131,9 +131,8 @@ while (!$queued_only) {
}
}
my $task = $taskretries->getRetryableTask();
my $task = $taskretries->get_retryable_task();
if (defined($task)) {
$task_dispatcher->dispatchTask($task);
$task_dispatcher->dispatch_task($task);
}
}