File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ 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 )
23- - [ Custom mutex timeout] ( #custom- mutex-timeout )
22+ - [ Common mutexes ] ( #common-mutexes )
23+ - [ Mutex timeout] ( #mutex-timeout )
2424- [ Troubleshooting] ( #troubleshooting )
2525 - [ Trait included, but nothing happens?] ( #trait-included-but-nothing-happens )
2626 - [ Several traits conflict?] ( #several-traits-conflict )
@@ -100,7 +100,7 @@ class MyProtectedCommand extends Command
100100
101101# # Advanced
102102
103- # ## Common mutex for several commands
103+ # ## Common mutexes
104104
105105Sometimes it is useful to set common mutex for a several commands. You can easily achieve this by setting them the same mutex name.
106106By default, mutex name is generated based on a command' s name and arguments. To change this, just override `getMutexName` method in your command:
@@ -119,7 +119,7 @@ class MyProtectedCommand extends Command
119119}
120120```
121121
122- ### Custom mutex timeout
122+ ### Mutex timeout
123123
124124By default mutex is checking for a running command, and if it finds such - it just exits. However, you can manually set
125125required timeout for a mutex, so it can wait for another instance to finish it' s execution, instead of just quiting immediately.
You can’t perform that action at this time.
0 commit comments