Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1d7ed9 commit ddbcf94Copy full SHA for ddbcf94
src/Jobs/AsyncJob.php
@@ -69,27 +69,6 @@ public function getRawBody()
69
return $this->job->payload;
70
}
71
72
- /**
73
- * Release the job back into the queue.
74
- *
75
- * @param int $delay
76
- * @return void
77
- */
78
- public function release($delay = 0)
79
- {
80
- // Update the Job status
81
- $this->job->status = Job::STATUS_OPEN;
82
- $this->job->save();
83
-
84
- // Wait for the delay
85
- if ($delay) {
86
- sleep($this->getSeconds($delay));
87
- }
88
89
- // Fire again
90
- $this->fire();
91
92
93
/**
94
* Get the number of times the job has been attempted.
95
*
0 commit comments