File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff 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+
101104Sometimes it is useful to set common mutex for a several commands. You can easily achieve this by setting them the same mutex name.
102105By default, mutex name is generated based on a command' s name and arguments. To change this, just override `getMutexName` method in your command:
103106
You can’t perform that action at this time.
0 commit comments