Releases: dmitry-ivanov/laravel-console-mutex
Releases · dmitry-ivanov/laravel-console-mutex
10.0.0
9.2.0
9.2.0 (11 Jul 2022)
Added
- Update to the latest dev version of
arvenil/ninja-mutex
, and support MySQL PDO options formysql
lock strategy (thanks, @rafacouto );
9.1.0
9.1.0 (13 Mar 2022)
Added
- Type hints and return types;
$mutexStrategy
and/or $mutexTimeout
fields, your IDE might ask you to add proper types (string
and/or ?int
):
class ExampleCommand extends Command
{
use WithoutOverlapping;
protected string $mutexStrategy = 'mysql';
protected ?int $mutexTimeout = 3000;
// ...
}
The null
should be set explicitly, if used:
class ExampleCommand extends Command
{
use WithoutOverlapping;
protected ?int $mutexTimeout = null;
// ...
}