fixed spelling error and removed debug code

This commit is contained in:
Chaitanya Kuber 2012-03-15 20:03:34 -05:00
parent 48a7febd88
commit cc871c06ab
2 changed files with 2 additions and 3 deletions

View File

@ -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.
*/

View File

@ -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);
}
}
?>
?>