chrisboulton/php-resque — pull request #61 by salimane (2012-08-21 14:07:35+00:00)
Title: return false if rpush fails during new job queuing and don't run job if there is no pcntl_fork

Previously, there is no way to surely know the job was queued because even if rpush failed, a job id is still returned.
And also $this->fork() could return false if there is no no pcntl_fork, don't run the job if this happens.