POD: improve wording, punctuation, caps

Co-authored-by: Cole Helbling <cole.helbling@determinate.systems>
This commit is contained in:
Graham Christensen 2021-09-03 09:13:34 -04:00 committed by GitHub
parent ea3ae0693e
commit d9df26ac5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View file

@ -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 {

View file

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