Integer_Net Session Unblocker
integer-net/magento2-session-unblocker
Module for Magento 2 that prevents session blocking between concurrent AJAX requests
Build Tests
Code Quality
Tested on Magento 2.4.8-p3
Recent Test History
Each release is tested against the latest Magento version at that time.
+4 older tests
Share This Module's Status
README
Loaded from GitHubInteger_Net Session Unblocker
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.
Installation
- Install via composer
composer require integer-net/magento2-session-unblocker - Enable module
bin/magento setup:upgrade
Configuration
Zero configuration needed.
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
Magento Integration Tests
-
Configure test database in
dev/tests/integration/etc/install-config-mysql.php. Read more in the Magento docs. -
Copy
Test/Integration/phpunit.xml.distfrom the package todev/tests/integration/phpunit.xmlin your Magento installation. -
In that directory, run
../../../vendor/bin/phpunit
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email fs@integer-net.de instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.