-
Notifications
You must be signed in to change notification settings - Fork 67
Optional on demand queue processing
Welcome to the guide on Optional On-Demand Queue Processing in the MailChimp for WooCommerce Integration. This guide will help you understand how to manage the queue processing system in different versions of the plugin.
The queue processing system is an integral part of the plugin that handles various tasks. Depending on the version of the plugin you're using, you may have different options for managing this system.
Starting from version 2.3, the setting for on-demand queue processing has been deprecated. The queue system has been moved to use the Action Scheduler, a highly optimized system for running queued jobs in WordPress.
If you had the constant MAILCHIMP_DISABLE_QUEUE
set to true
, it's completely safe (and recommended) that you remove the define('MAILCHIMP_DISABLE_QUEUE', true);
call, which is most likely to have been placed in your wp-config.php
file.
If you're using a version of the plugin prior to 2.3 and would like to turn off the background queue processing to handle jobs "on-demand", you can do so by adding a constant in your wp-config.php
file: define('MAILCHIMP_DISABLE_QUEUE', true);
. This can help reduce high CPU usage on small servers by making a call to the admin-ajax
file and manually processing a single request at a time.