3

I am trying to enable use_application_lock for indexer from .magento.env.yaml file. When i add and verify by using php ./vendor/bin/ece-tools cloud:config:validate it throws error

Can someone help me to enable the setting via .magento.env.yaml file.

Followed reference from https://developer.adobe.com/commerce/php/development/components/indexing/#using-application-lock-mode-for-reindex-processes

1
  • Hi. Did you managed to add the use_application_lock value for Magento Cloud? Thanks.
    – Eugen
    Commented Feb 21 at 10:35

2 Answers 2

0

I tried right now to add the config but the validation passed flawlessly

Please make sure your Magento/AC version is compatible with the configuration (on the documentation they require a 2.4.3 or bigger) and that you only have a single "indexer" node. Of course make sure you don't have any other errors in the env.php.

0

Try to add into your .magento.app.yaml:

variables:
    env:
        MAGENTO_DC_INDEXER__USE_APPLICATION_LOCK: true

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.