Skip to content

Latest commit

 

History

History
76 lines (50 loc) · 2.74 KB

README.md

File metadata and controls

76 lines (50 loc) · 2.74 KB

Integer_Net Session Unblocker

Software License Build Status Coverage Status Quality Score

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

  1. Install via composer
    composer require integer-net/magento2-session-unblocker
    
  2. 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

  1. Configure test database in dev/tests/integration/etc/install-config-mysql.php. Read more in the Magento docs.

  2. Copy Test/Integration/phpunit.xml.dist from the package to dev/tests/integration/phpunit.xml in your Magento installation.

  3. In that directory, run

    ../../../vendor/bin/phpunit

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.