Skip to content
This repository was archived by the owner on Mar 9, 2024. It is now read-only.

Commit 218e8b0

Browse files
committed
Remove release
Prevent recursive loop with retries.
1 parent b790f17 commit 218e8b0

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/AsyncQueue.php

-16
Original file line numberDiff line numberDiff line change
@@ -86,22 +86,6 @@ public function later($delay, $job, $data = '', $queue = null)
8686
return $id;
8787
}
8888

89-
/**
90-
* Release a reserved job back onto the queue.
91-
*
92-
* @param string $queue
93-
* @param \StdClass $job
94-
* @param int $delay
95-
* @return void
96-
*/
97-
public function release($queue, $job, $delay)
98-
{
99-
$id = parent::release($queue, $job, $delay);
100-
$this->startProcess($id);
101-
102-
return $id;
103-
}
104-
10589
protected function pushToDatabase($delay, $queue, $payload, $attempts = 0)
10690
{
10791
$availableAt = $delay instanceof DateTime ? $delay : Carbon::now()->addSeconds($delay);

0 commit comments

Comments
 (0)