Merge branch 'blocking-list-pop' of github.com:ruudk/php-resque into blocking-list-pop

Conflicts:
	bin/resque
	lib/Resque.php
	lib/Resque/Job.php
This commit is contained in:
Ruud Kamphuis 2013-05-29 09:31:53 +02:00
commit 2794dd54a9
2 changed files with 3 additions and 5 deletions

View File

@ -58,13 +58,11 @@ class Resque_Job
);
}
$id = md5(uniqid('', true));
if (!Resque::push($queue, array(
Resque::push($queue, array(
'class' => $class,
'args' => array($args),
'id' => $id,
))) {
return false;
}
));
if($monitor) {
Resque_Job_Status::create($id);