snowio / magento2-mutexes
A Magento 2 module which encapsulates various operations in mutex locks
Installs: 150 089
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 6
Forks: 1
Open Issues: 0
Type:magento2-module
Requires
- php: ^7.4||^8.1
- magento/framework: ^103
- magento/module-catalog: ^104
- snowio/magento2-lock: ^1.1.0
Requires (Dev)
- rector/rector: ^0.8.56
This package is auto-updated.
Last update: 2024-11-17 19:59:49 UTC
README
Description
Module that ensures mutual exclusion on product saves. The locking is applied on product skus thus 2 or more
simultaneous saves on a product will result in one of the simultaneous save calls successfully saving the product
and the rest failing with a RuntimeException
.
Magento Versions
<= 2.3.x
use 2.x tags>= 2.4.x
use master
Prerequisites
- PHP 7.4 or newer
- Composer (https://getcomposer.org/download/).
magento/framework
103 or newermagento/module-catalog
104 or newersnowio/magento2-lock
1.0.0 or newer
Installation
composer require snowio/magento2-product-save-mutex
php bin/magento module:enable SnowIO_ProductSaveMutex
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush
License
This software is licensed under the MIT License. View the license