Skip to content

Commit

Permalink
Return migrated jobs for customization.
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jan 21, 2017
1 parent 98555a4 commit f21e942
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Queue/LuaScripts.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public static function migrateExpiredJobs()
end
end
return true
return val
LUA;
}
}
4 changes: 2 additions & 2 deletions src/Illuminate/Queue/RedisQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,11 @@ protected function migrate($queue)
*
* @param string $from
* @param string $to
* @return void
* @return array
*/
public function migrateExpiredJobs($from, $to)
{
$this->getConnection()->eval(
return $this->getConnection()->eval(
LuaScripts::migrateExpiredJobs(), 2, $from, $to, $this->currentTime()
);
}
Expand Down

0 comments on commit f21e942

Please sign in to comment.