Example #1
0
 /**
  * Migrate the delayed jobs that are ready to the regular queue.
  *
  * @param  string  $from
  * @param  string  $to
  * @return void
  */
 public function migrateExpiredJobs($from, $to)
 {
     $this->getConnection()->eval(LuaScripts::migrateExpiredJobs(), 3, $from, $to, $this->getTime());
 }