This extension improves the performance of AJAX requests in Magento by reducing session locking, without having to disable locking in the cache backend (e.g. Redis)
Session locking keeps safe from race conditions from parallel requests, so disabling it completely can result in session data loss.
Instead we minimize the lock time by closing the session as soon as we have read it, if we do not need to write to it anymore.
- Install via composer
composer require integer-net/magento2-session-unblocker
- Enable module
bin/magento setup:upgrade
Zero configuration needed.
Please see CHANGELOG for more information on what has changed recently.
-
Configure test database in
dev/tests/integration/etc/install-config-mysql.php
. Read more in the Magento docs. -
Copy
Test/Integration/phpunit.xml.dist
from the package todev/tests/integration/phpunit.xml
in your Magento installation. -
In that directory, run
../../../vendor/bin/phpunit
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.