From cc871c06ab662dc38b33feca595f15edac03eab4 Mon Sep 17 00:00:00 2001 From: Chaitanya Kuber Date: Thu, 15 Mar 2012 20:03:34 -0500 Subject: [PATCH] fixed spelling error and removed debug code --- lib/Resque.php | 2 +- lib/Resque/Worker.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/Resque.php b/lib/Resque.php index ded12a4..df211a6 100644 --- a/lib/Resque.php +++ b/lib/Resque.php @@ -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. */ diff --git a/lib/Resque/Worker.php b/lib/Resque/Worker.php index fc2e9d9..31f2f3c 100644 --- a/lib/Resque/Worker.php +++ b/lib/Resque/Worker.php @@ -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); } } -?> \ No newline at end of file +?>