Download the PHP package t-kanstantsin/yii2-action-lock-behavior without Composer
On this page you can find all versions of the php package t-kanstantsin/yii2-action-lock-behavior. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download t-kanstantsin/yii2-action-lock-behavior
More information about t-kanstantsin/yii2-action-lock-behavior
Files in t-kanstantsin/yii2-action-lock-behavior
Download t-kanstantsin/yii2-action-lock-behavior
More information about t-kanstantsin/yii2-action-lock-behavior
Files in t-kanstantsin/yii2-action-lock-behavior
Vendor t-kanstantsin
Package yii2-action-lock-behavior
Short Description Allow run only one action instance at once
License BSD-3-Clause
Homepage https://github.com/t-kanstantsin/yii2-action-lock-behavior
Package yii2-action-lock-behavior
Short Description Allow run only one action instance at once
License BSD-3-Clause
Homepage https://github.com/t-kanstantsin/yii2-action-lock-behavior
Please rate this library. Is it a good library?
Informations about the package yii2-action-lock-behavior
Yii Action lock behavior
Yii widget
Basic
Behavior allow deny multiple runs of same console application action (e.g. long time executing task initiated with cron) using yii\mutex\*
package.
Lock source should be chosen carefully noting following:
-
yii\mutex\FileMutex
simple but can be used only with one docker container instance because its not possible determine if process still running or ended in another container. Requires only writable directory yii\mutex\DbMutex
requires db connection. May be used only with single database instance.
Example
Using mutex from global config:
Define mutex on-the-fly:
All versions of yii2-action-lock-behavior with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
ext-mbstring Version ^7.1
psr/log Version ^1.0
yiisoft/yii2 Version ^2.0.10
ext-mbstring Version ^7.1
psr/log Version ^1.0
yiisoft/yii2 Version ^2.0.10
The package t-kanstantsin/yii2-action-lock-behavior contains the following files
Loading the files please wait ....