Skip to content

Commit baef526

Browse files
authored
fix: cluster redis eval reutnr false (#1526)
1 parent 64c5c08 commit baef526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/RedisQueue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public function pop($queue = null, $index = 0)
154154
public function migrateExpiredJobs($from, $to)
155155
{
156156
return tap(parent::migrateExpiredJobs($from, $to), function ($jobs) use ($to) {
157-
$this->event($to, new JobsMigrated($jobs));
157+
$this->event($to, new JobsMigrated($jobs === false ? [] : $jobs));
158158
});
159159
}
160160

0 commit comments

Comments
 (0)