Skip to content

Commit c2d3c49

Browse files
committed
ICM: Readme subsection extracted.
1 parent bac6d63 commit c2d3c49

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Prevents overlapping for Laravel console commands.
1919
- [Usage](#usage)
2020
- [Strategies](#strategies)
2121
- [Advanced](#advanced)
22+
- [Common mutex for several commands](#common-mutex-for-several-commands)
2223
- [Troubleshooting](#troubleshooting)
2324
- [Trait included, but nothing happens?](#trait-included-but-nothing-happens)
2425
- [Several traits conflict?](#several-traits-conflict)
@@ -98,6 +99,8 @@ class MyProtectedCommand extends Command
9899

99100
## Advanced
100101

102+
### Common mutex for several commands
103+
101104
Sometimes it is useful to set common mutex for a several commands. You can easily achieve this by setting them the same mutex name.
102105
By default, mutex name is generated based on a command's name and arguments. To change this, just override `getMutexName` method in your command:
103106

0 commit comments

Comments
 (0)