cache_types
All the cache types configurations are available from this node.
'cache_types' => [
'config' => 1,
'layout' => 1,
'block_html' => 1,
'collections' => 1,
'reflection' => 1,
'db_ddl' => 1,
'compiled_config' => 1,
'eav' => 1,
'customer_notification' => 1,
'config_integration' => 1,
'config_integration_api' => 1,
'full_page' => 1,
'config_webservice' => 1,
'translate' => 1,
'vertex' => 1
]
Learn more about different Cache Types.
consumers_wait_for_messages
Specify whether consumers should continue polling for messages if the number of processed messages is less than the max_messages value. The default value is 1.
'queue' => [
'consumers_wait_for_messages' => 1
]
The following options are available:
-
1—Consumers continue to process messages from the message queue until reaching themax_messagesvalue specified in theenv.phpfile before closing the TCP connection and terminating the consumer process. If the queue empties before reaching themax_messagesvalue, the consumer waits for more messages to arrive.We recommend this setting for large merchants because a constant message flow is expected and delays in processing are undesirable.
-
0—Consumers process available messages in the queue, close the TCP connection, and terminate. Consumers do not wait for additional messages to enter the queue, even if the number of processed messages is less than themax_messagesvalue specified in theenv.phpfile. This can help prevent issues with cron jobs caused by long delays in message queue processing.We recommend this setting for smaller merchants that do not expect a constant message flow and prefer to conserve computing resources in exchange for minor processing delays when there could be no messages for days.