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 71a92fe commit e3e01c6Copy full SHA for e3e01c6
src/TaskHandler.php
@@ -185,7 +185,9 @@ public function getWorkerOptions(): WorkerOptions
185
{
186
$options = new WorkerOptions();
187
188
- $options->backoff = $this->config['backoff'] ?? 0;
+ $prop = version_compare(app()->version(), '8.0.0', '<') ? 'delay' : 'backoff';
189
+
190
+ $options->$prop = $this->config['backoff'] ?? 0;
191
192
return $options;
193
}
0 commit comments