I'm not sure if this is related to the cloudflare purge plugin or not but I'm having an issue with the purge queue not emptying and it's reached Queue size of 119,351

Queue Size

I need help with troubleshooting the cause and clearing the queue

CommentFileSizeAuthor
2018-11-16 08_07_15-Window.png13.39 KBneubreed
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

neubreed created an issue. See original summary.

neubreed’s picture

Issue was .. changing the website domain from www.domain.com to domain.com retained previous queues. Manually clearing the queue worked but the cron wasn't clearing it

nielsvm’s picture

Status: Active » Closed (won't fix)

This is very much by design, as this kind of load could really harm the stability of a website.

Use p:queue-empty to empty a queue, but the underlying problem is what needs to be solved.

kkalaskar’s picture

Same issue i had faced, for this i have added hook_update.

/**
 * Massive queue not being purged .
 */
function MY_MODULE_update_8701() {
  $purge_queue = \Drupal::service('purge.queue');
  $purge_queue->emptyQueue();
}