Skip to content

Commit

Permalink
Merge pull request #146 from dhensby/pulls/2.8/immediate-handler
Browse files Browse the repository at this point in the history
Add scheduledJob to ImmediateQueueHandler
  • Loading branch information
robbieaverill authored Nov 2, 2017
2 parents f000c10 + 087c8ca commit b9fc5fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/services/ImmediateQueueHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,8 @@ class ImmediateQueueHandler {
public function startJobOnQueue(QueuedJobDescriptor $job) {
$this->queuedJobService->runJob($job->ID);
}

public function scheduleJob(QueuedJobDescriptor $job, $date) {
$this->queuedJobService->runJob($job->ID);
}
}

0 comments on commit b9fc5fe

Please sign in to comment.