Skip to content

Commit e38f844

Browse files
Improve clarity in Isolatable commands (#10479)
1 parent daa0516 commit e38f844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

artisan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ class SendEmails extends Command implements Isolatable
243243
}
244244
```
245245

246-
When you mark a command as `Isolatable`, Laravel automatically makes the `--isolated` option available for the command without you needing to explicitly define it in the command's options. When the command is invoked with that option, Laravel will ensure that no other instances of that command are already running. Laravel accomplishes this by attempting to acquire an atomic lock using your application's default cache driver. If other instances of the command are running, the command will not execute; however, the command will still exit with a successful exit status code:
246+
When you mark a command as `Isolatable`, Laravel automatically makes the `--isolated` option available for the command without needing to explicitly define it in the command's options. When the command is invoked with that option, Laravel will ensure that no other instances of that command are already running. Laravel accomplishes this by attempting to acquire an atomic lock using your application's default cache driver. If other instances of the command are running, the command will not execute; however, the command will still exit with a successful exit status code:
247247

248248
```shell
249249
php artisan mail:send 1 --isolated

0 commit comments

Comments
 (0)