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 99d004a commit b9cbac1Copy full SHA for b9cbac1
src/Illuminate/Queue/Console/RetryBatchCommand.php
@@ -4,10 +4,11 @@
4
5
use Illuminate\Bus\BatchRepository;
6
use Illuminate\Console\Command;
7
+use Illuminate\Contracts\Console\Isolatable;
8
use Symfony\Component\Console\Attribute\AsCommand;
9
10
#[AsCommand(name: 'queue:retry-batch')]
-class RetryBatchCommand extends Command
11
+class RetryBatchCommand extends Command implements Isolatable
12
{
13
/**
14
* The console command signature.
@@ -50,4 +51,14 @@ public function handle()
50
51
52
$this->newLine();
53
}
54
+
55
+ /**
56
+ * Get the custom mutex name for an isolated command.
57
+ *
58
+ * @return string
59
+ */
60
+ public function isolatableId()
61
+ {
62
+ return $this->argument('id');
63
+ }
64
0 commit comments