mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 05:32:20 +00:00
fixed spelling error and removed debug code
This commit is contained in:
parent
48a7febd88
commit
cc871c06ab
2 changed files with 2 additions and 3 deletions
|
@ -128,7 +128,7 @@ class Resque
|
|||
/**
|
||||
* Return the size (number of pending jobs) of the specified queue.
|
||||
*
|
||||
* @param $queue name of the queue to be checked for pendign jobs
|
||||
* @param $queue name of the queue to be checked for pending jobs
|
||||
*
|
||||
* @return int The size of the queue.
|
||||
*/
|
||||
|
|
|
@ -234,7 +234,6 @@ class Resque_Worker
|
|||
public function perform(Resque_Job $job)
|
||||
{
|
||||
try {
|
||||
$this->log("afterFork being triggered", self::LOG_VERBOSE);
|
||||
Resque_Event::trigger('afterFork', $job);
|
||||
$job->perform();
|
||||
}
|
||||
|
@ -584,4 +583,4 @@ class Resque_Worker
|
|||
return Resque_Stat::get($stat . ':' . $this);
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue