Added symfony/lock to prevent multiple run of the same state:* commands

This commit is contained in:
Abdulmhsen B. A. A
2022-03-19 13:56:39 +03:00
parent e49842afa3
commit 9ac48bccba
2 changed files with 89 additions and 11 deletions

View File

@@ -27,6 +27,7 @@
"symfony/process": "^6.0",
"symfony/http-client": "^6.0",
"symfony/dotenv": "^6.0",
"symfony/lock": "^6.0",
"league/container": "^4.0",
"psr/http-client": "^1.0",
"psr/simple-cache": "^3.0",

99
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "7d23923df5a94a9c32256649f5eade2a",
"content-hash": "d810e1cac87a8ed1da7d5b0f2a83e549",
"packages": [
{
"name": "dragonmantank/cron-expression",
@@ -1489,6 +1489,83 @@
],
"time": "2021-11-03T13:44:55+00:00"
},
{
"name": "symfony/lock",
"version": "v6.0.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/lock.git",
"reference": "0cf461029e7a16f34b55ac7399f36a4adb14a30c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/lock/zipball/0cf461029e7a16f34b55ac7399f36a4adb14a30c",
"reference": "0cf461029e7a16f34b55ac7399f36a4adb14a30c",
"shasum": ""
},
"require": {
"php": ">=8.0.2",
"psr/log": "^1|^2|^3"
},
"conflict": {
"doctrine/dbal": "<2.13"
},
"require-dev": {
"doctrine/dbal": "^2.13|^3.0",
"predis/predis": "~1.0"
},
"type": "library",
"autoload": {
"psr-4": {
"Symfony\\Component\\Lock\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Jérémy Derussé",
"email": "jeremy@derusse.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Creates and manages locks, a mechanism to provide exclusive access to a shared resource",
"homepage": "https://symfony.com",
"keywords": [
"cas",
"flock",
"locking",
"mutex",
"redlock",
"semaphore"
],
"support": {
"source": "https://github.com/symfony/lock/tree/v6.0.5"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2022-02-24T10:01:27+00:00"
},
{
"name": "symfony/polyfill-ctype",
"version": "v1.25.0",
@@ -3265,12 +3342,12 @@
"source": {
"type": "git",
"url": "https://github.com/Roave/SecurityAdvisories.git",
"reference": "86b842d48cdaaab1bf3dc24fdc830bf7b58cfcab"
"reference": "4701a5552ca324de5333d742d51d9cf2786f3186"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/86b842d48cdaaab1bf3dc24fdc830bf7b58cfcab",
"reference": "86b842d48cdaaab1bf3dc24fdc830bf7b58cfcab",
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/4701a5552ca324de5333d742d51d9cf2786f3186",
"reference": "4701a5552ca324de5333d742d51d9cf2786f3186",
"shasum": ""
},
"conflict": {
@@ -3466,7 +3543,7 @@
"nette/nette": ">=2,<2.0.19|>=2.1,<2.1.13",
"nilsteampassnet/teampass": "<=2.1.27.36",
"nukeviet/nukeviet": "<4.3.4",
"nystudio107/craft-seomatic": "<3.3",
"nystudio107/craft-seomatic": "<3.4.12",
"nzo/url-encryptor-bundle": ">=4,<4.3.2|>=5,<5.0.1",
"october/backend": "<1.1.2",
"october/cms": "= 1.1.1|= 1.0.471|= 1.0.469|>=1.0.319,<1.0.469",
@@ -3495,8 +3572,8 @@
"phpfastcache/phpfastcache": "<6.1.5|>=7,<7.1.2|>=8,<8.0.7",
"phpmailer/phpmailer": "<6.5",
"phpmussel/phpmussel": ">=1,<1.6",
"phpmyadmin/phpmyadmin": "<4.9.8|>=5,<5.0.3|>=5.1,<5.1.2",
"phpoffice/phpexcel": "<1.8.2",
"phpmyadmin/phpmyadmin": "<5.1.3",
"phpoffice/phpexcel": "<1.8",
"phpoffice/phpspreadsheet": "<1.16",
"phpseclib/phpseclib": "<2.0.31|>=3,<3.0.7",
"phpservermon/phpservermon": "<=3.5.2",
@@ -3537,7 +3614,7 @@
"shopware/production": "<=6.3.5.2",
"shopware/shopware": "<5.7.7",
"shopware/storefront": "<=6.4.8.1",
"showdoc/showdoc": "<=2.10.2",
"showdoc/showdoc": "<2.10.4",
"silverstripe/admin": ">=1,<1.8.1",
"silverstripe/assets": ">=1,<1.4.7|>=1.5,<1.5.2",
"silverstripe/cms": "<4.3.6|>=4.4,<4.4.4",
@@ -3571,10 +3648,10 @@
"swiftmailer/swiftmailer": ">=4,<5.4.5",
"sylius/admin-bundle": ">=1,<1.0.17|>=1.1,<1.1.9|>=1.2,<1.2.2",
"sylius/grid": ">=1,<1.1.19|>=1.2,<1.2.18|>=1.3,<1.3.13|>=1.4,<1.4.5|>=1.5,<1.5.1",
"sylius/grid-bundle": ">=1,<1.1.19|>=1.2,<1.2.18|>=1.3,<1.3.13|>=1.4,<1.4.5|>=1.5,<1.5.1",
"sylius/grid-bundle": "<1.10.1",
"sylius/paypal-plugin": ">=1,<1.2.4|>=1.3,<1.3.1",
"sylius/resource-bundle": "<1.3.14|>=1.4,<1.4.7|>=1.5,<1.5.2|>=1.6,<1.6.4",
"sylius/sylius": "<1.6.9|>=1.7,<1.7.9|>=1.8,<1.8.3|>=1.9,<1.9.5",
"sylius/sylius": "<1.9.10|>=1.10,<1.10.11|>=1.11,<1.11.2",
"symbiote/silverstripe-multivaluefield": ">=3,<3.0.99",
"symbiote/silverstripe-queuedjobs": ">=3,<3.0.2|>=3.1,<3.1.4|>=4,<4.0.7|>=4.1,<4.1.2|>=4.2,<4.2.4|>=4.3,<4.3.3|>=4.4,<4.4.3|>=4.5,<4.5.1|>=4.6,<4.6.4",
"symbiote/silverstripe-versionedfiles": "<=2.0.3",
@@ -3719,7 +3796,7 @@
"type": "tidelift"
}
],
"time": "2022-03-14T19:04:00+00:00"
"time": "2022-03-18T16:08:45+00:00"
},
{
"name": "sebastian/cli-parser",