Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Ability to run multiple jobs in the same thread via Drush
Steps to reproduce
drush cron:run --options=thread=1
results in the following error
Running all cronjobs is not supported by Ultimate Cron's cron:run - please use Drupal Core's core:cron command!
core:cron doesn't accept an --options parameter
Issue fork ultimate_cron-3277625
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3277625-impossible-to-run changes, plain diff MR !12
Comments
Comment #2
intrafusionI have made a simple issue fork which pulls max_threads out of the global config via
\Drupal::config('ultimate_cron.settings')->get('launcher.max_threads');
This is a preliminary fix to make sure the correct config is being pulled through, but the final fix will probably need dependency injection
Comment #5
intrafusionSorry wrong issue