Reading list Switch to dark mode

    Automatic Re-Indexing Using Environment Variable

    Updated 26 August 2021

    In Magento 2.4.3, we can enable automatic re-indexing using cronjob by just using the environment variable. To install Magento 2.4, read this blog https://webkul.com/blog/installing-magento2-4/.

    The use_application_lock indexing mode is used to enable the automatic re-indexing process and can be enabled using the app/etc/env.php file. This mode returns a more accurate status of the indexers. The status is available on the indexer grid in the Magento Admin.

    If an indexer fails, Magento will now see this and the cronjob will pick up the indexer to try it again. Without this mode, it is necessary to manually reset the indexer when it failed.

    So, we need to write the following code in the env.php file to enable the use_application_lock indexing mode.

    <?php
    
    return [
        'indexer' => [
            'use_application_lock' => true
        ]
    ];

    This is how we can enable automatic re-indexing using an environment variable.

    Searching for an experienced
    Magento 2 Company ?
    Find out More

    Platform Enhancements and Infrastructure Improvements

    As Magento Open Source 2.4.3 comes up with powerful enhancements and security fixes, some major enhancements are –

    • PageBuilder – Page Builder is now available as an extension in Magento Open Source, also it is now the default content editing tool for Magento Open Source.
    • ReCaptcha Expansion – The reCaptcha coverage expands to enhance the security. We can add reCaptcha on the Checkout/Place Order page from the admin configurations.
    • Paypal Pay Later – The Paypal Pay Later payment is available in Magento 2.4.3. The shoppers who want to pay for an order in bi-weekly installments can use the Paypal Pay Later payment.

    This powerful latest version of Magento 2 comes up with many security fixes in major areas like GraphQl, PWA studio, Integration Apis, Rate Limiting, etc. To know about all the updates, you can go through Magento 2.4.3 release note – https://devdocs.magento.com/guides/v2.4/release-notes/open-source-2-4-3.html.

    This is a knowledge base article for Magento 2.4.3. If you still have any issues, feel free to add a ticket.

    . . .

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    Be the first to comment.

    Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home