@webcart and @davelo this is actually done on purpose. It may seem like it’s a performance problem but in reality it’s just the nature of how the queue works. It stays alive with a while
loop to process jobs that are in the queue right at that time.
One other thing to mention is that these requests should be happening out of the way of the actual page load times, running in a completely separate PHP process. We make use of the timeout
feature of CURL to just accept the request and process it in the background.
That being said, you do have the option to kill the process one job at a time, and the queue will not do the typical polling
as I just described by setting a constant of:
define('MAILCHIMP_DISABLE_QUEUE', true);
in your wp-config.php file.
We don’t recommend this for busier sites, but if you’ve got a shop that doesn’t have lots of shopping activity it may be fine to do so.
We also have the ability to turn off the “http based processing” and run the queue system in the command line mode. You can find the simple documentation on this here https://github.com/mailchimp/mc-woocommerce/wiki/Advanced-Queue-Setup-In-CLI-mode
-
This reply was modified 5 years, 8 months ago by
ryanhungate.