How to optimize the Magento 2 queue consumers

If your are having problem with the magento 2 cron jobs and it gets stuck or long-running you can try to optimize the way magento handles the queue consumers. By default consumers should continue polling for messages if the number of processed messages is less than the┬ámax_messages value (which can be specified in the env.php file). This is actually only[…]

Read more

Content Security Policy problem when changing store views in Magento

I recently came across a problem with the store view switch caused by the default content security policies used by default. When using different domains on store views you might notice that the redirect will not work when you chose a different store view in the language dropdown. This is caused by the content security policies that magento, by default,[…]

Read more