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

Command icon 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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

intrafusion created an issue. See original summary.

intrafusion’s picture

Status: Active » Needs review

I 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

intrafusion’s picture

Status: Needs review » Active

Sorry wrong issue