Skip to content

Commit d11c2c3

Browse files
committed
ICM: Mutex name hardcode removed & mutex storage path changed.
1 parent 40697aa commit d11c2c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Mutex.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function __construct(Command $command)
1717
{
1818
$this->command = $command;
1919
$this->strategy = $this->strategy();
20-
$this->ninja = new Ninja('test', $this->strategy);
20+
$this->ninja = new Ninja($command->getMutexName(), $this->strategy);
2121
}
2222

2323
private function strategy()
@@ -41,7 +41,7 @@ private function strategy()
4141

4242
case 'file':
4343
default:
44-
return new FlockLock(storage_path('framework'));
44+
return new FlockLock(storage_path('app'));
4545
}
4646
}
4747

0 commit comments

Comments
 (0)