Skip to content

Commit 3cf5e06

Browse files
author
Quentin Schmick
authored
[fix] mutex name
- update getMutexName to consider parameters while generating unique mutex names
1 parent 983aeca commit 3cf5e06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/HasFrequencies.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public function getCronExpression()
123123
*/
124124
public function getMutexName()
125125
{
126-
return 'logs'.DIRECTORY_SEPARATOR.'schedule-'.sha1($this->expression.$this->command);
126+
return 'logs'.DIRECTORY_SEPARATOR.'schedule-'.sha1($this->expression.$this->command.$this->parameters);
127127
}
128128

129129
/**

0 commit comments

Comments
 (0)