Skip to content

Commit b01ec2a

Browse files
Merge pull request #1 from willemo/add-port-to-mysql-lock
Thank you!
2 parents b138271 + 57858f2 commit b01ec2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Mutex.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ public function getStrategy()
3636
return new MySqlLock(
3737
config('database.connections.mysql.username'),
3838
config('database.connections.mysql.password'),
39-
config('database.connections.mysql.host')
39+
config('database.connections.mysql.host'),
40+
config('database.connections.mysql.port')
4041
);
4142

4243
case 'redis':

0 commit comments

Comments
 (0)