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 be9e4f2 commit 0911b39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LuaScripts.php
Expand Up @@ -97,7 +97,7 @@ public static function migrateExpiredJobs()
end
end
return true
return val
LUA;
}
}
4 changes: 2 additions & 2 deletions RedisQueue.php
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 0911b39

Please sign in to comment.