diff --git a/src/lib/Hydra/Schema/ResultSet/TaskRetries.pm b/src/lib/Hydra/Schema/ResultSet/TaskRetries.pm index 10d89cd8..526d3f40 100644 --- a/src/lib/Hydra/Schema/ResultSet/TaskRetries.pm +++ b/src/lib/Hydra/Schema/ResultSet/TaskRetries.pm @@ -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 { diff --git a/src/lib/Hydra/TaskDispatcher.pm b/src/lib/Hydra/TaskDispatcher.pm index 310fe6d6..a45f88ab 100644 --- a/src/lib/Hydra/TaskDispatcher.pm +++ b/src/lib/Hydra/TaskDispatcher.pm @@ -137,7 +137,7 @@ Arguments: =item C<$event> -L the event, usually from L. +L The event, usually from L. =back @@ -154,7 +154,7 @@ sub dispatch_event { =head2 dispatch_task -Execute a specifi plugin against the provided L. +Execute a specific plugin against the provided L. 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 the task, usually from L. +L The task, usually from L. =back @@ -215,7 +215,7 @@ Arguments: =item C<$task> -L the task to mark as successful. +L The task to mark as successful. =back @@ -243,7 +243,7 @@ Arguments: =item C<$task> -L the task to mark as successful. +L The task to mark as successful. =back @@ -278,7 +278,7 @@ Arguments: =item C<$task> -L the task to return labels for. +L The task to return labels for. =back