I'm using Magento 2.4.1, and this is my message queue configuration in app/etc/env.php
'queue' => [
'consumers_wait_for_messages' => 0
],
'cron_consumers_runner' => [
'cron_run' => true,
'max_messages' => 2,
'single_thread' => true,
'consumers-wait-for-messages' => 0,
'consumers' => [
'product_action_attribute.update',
'product_action_attribute.website.update',
'exportProcessor'
]
]
I set the max_messages to 2
, I don't know if this is enough or gonna cause any trouble later