POD: improve wording, punctuation, caps
Co-authored-by: Cole Helbling <cole.helbling@determinate.systems>
This commit is contained in:
parent
ea3ae0693e
commit
d9df26ac5a
|
@ -13,11 +13,11 @@ use Hydra::Task;
|
|||
Query the database to identify how soon the next retryable task is due
|
||||
for being attempted again.
|
||||
|
||||
If there are no tasks to be reattempted it returns undef.
|
||||
If there are no tasks to be reattempted, it returns undef.
|
||||
|
||||
If a task's scheduled retry has passed, it returns 0.
|
||||
|
||||
Otherwise, returns the number of seconds from now to look for work.
|
||||
Otherwise, returns the number of seconds to wait before looking for more work.
|
||||
|
||||
=cut
|
||||
sub get_seconds_to_next_retry {
|
||||
|
|
|
@ -137,7 +137,7 @@ Arguments:
|
|||
|
||||
=item C<$event>
|
||||
|
||||
L<Hydra::Event> the event, usually from L<Hydra::PostgresListener>.
|
||||
L<Hydra::Event> The event, usually from L<Hydra::PostgresListener>.
|
||||
|
||||
=back
|
||||
|
||||
|
@ -154,7 +154,7 @@ sub dispatch_event {
|
|||
|
||||
=head2 dispatch_task
|
||||
|
||||
Execute a specifi plugin against the provided L<Hydra::Task>.
|
||||
Execute a specific plugin against the provided L<Hydra::Task>.
|
||||
The Task includes information about what plugin should be executed.
|
||||
If the provided plugin does not exist, an error logged is logged and the
|
||||
function returns falsey.
|
||||
|
@ -165,7 +165,7 @@ Arguments:
|
|||
|
||||
=item C<$task>
|
||||
|
||||
L<Hydra::Task> the task, usually from L<Hydra::Shema::Result::TaskRetries>.
|
||||
L<Hydra::Task> The task, usually from L<Hydra::Shema::Result::TaskRetries>.
|
||||
|
||||
=back
|
||||
|
||||
|
@ -215,7 +215,7 @@ Arguments:
|
|||
|
||||
=item C<$task>
|
||||
|
||||
L<Hydra::Task> the task to mark as successful.
|
||||
L<Hydra::Task> The task to mark as successful.
|
||||
|
||||
=back
|
||||
|
||||
|
@ -243,7 +243,7 @@ Arguments:
|
|||
|
||||
=item C<$task>
|
||||
|
||||
L<Hydra::Task> the task to mark as successful.
|
||||
L<Hydra::Task> The task to mark as successful.
|
||||
|
||||
=back
|
||||
|
||||
|
@ -278,7 +278,7 @@ Arguments:
|
|||
|
||||
=item C<$task>
|
||||
|
||||
L<Hydra::Task> the task to return labels for.
|
||||
L<Hydra::Task> The task to return labels for.
|
||||
|
||||
=back
|
||||
|
||||
|
|
Loading…
Reference in a new issue