mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-25 09:45:15 +00:00
method comment changes
This commit is contained in:
parent
ef859b6fc5
commit
3b59fa5dbc
@ -61,6 +61,7 @@ class Resque_Worker
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Return all workers known to Resque as instantiated instances.
|
* Return all workers known to Resque as instantiated instances.
|
||||||
|
* @return array
|
||||||
*/
|
*/
|
||||||
public static function all()
|
public static function all()
|
||||||
{
|
{
|
||||||
@ -228,11 +229,12 @@ class Resque_Worker
|
|||||||
/**
|
/**
|
||||||
* Process a single job.
|
* Process a single job.
|
||||||
*
|
*
|
||||||
* @param object|null $job The job to be processed.
|
* @param Resque_Job $job The job to be processed.
|
||||||
*/
|
*/
|
||||||
public function perform(Resque_Job $job)
|
public function perform(Resque_Job $job)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
|
$this->log("afterFork being triggered", self::LOG_VERBOSE);
|
||||||
Resque_Event::trigger('afterFork', $job);
|
Resque_Event::trigger('afterFork', $job);
|
||||||
$job->perform();
|
$job->perform();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user