Account created on 6 August 2010, over 14 years ago
#

Recent comments

🇬🇧United Kingdom tsphethean

I'm happy for Oleh to become a maintainer. I'm still interested in this project but no longer have capacity to actively maintain it.

🇬🇧United Kingdom tsphethean

One further thought on this, why would we only want to spawn these queue runner processes from a form submit? Looking at how the poormanscron will work (and works in D7) we'll be spawning a request to /cron/%process every time we reach the cron processing threshold, is there any reason why we wouldn't want to do the same for queues?

🇬🇧United Kingdom tsphethean

Ok great, so for working on it I'll apply the patch from #1599622: Run poormanscron via a non-blocking HTTP request → and we can make that a dependency.

I think I was editing my post as you replied, do you think identifying the queues to be run in queue runner should be configured in hook_cron_queue_info()?

🇬🇧United Kingdom tsphethean

So I've started having a think about this, but for the async in Guzzle we'll need to add the Async plugin to core (http://guzzlephp.org/guide/plugins.html#async-plugin) - will that be a problem, and is too late in the cycle to get this in before feature freeze?

Was also thinking this queue runner would need to be able to be disabled (in the performance section or elsewhere?) as some use cases may want to prevent anything running "randomly"?

For implementation, I was thinking of extending hook_cron_queue_info() to add a flag for whether the queue specified should be executed by this queue runner. There is hook_queue_info which has been exposed by the contrib Queue UI module (http://drupal.org/project/queue_ui) but I guess getting that into core is pushing it?

Production build 0.71.5 2024