hosting_task_count_running() currently always returns 0, resulting in more tasks running the number specified by the hosting_queue_tasks_items variable.

The below patch resolves the issue.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tom_spiers created an issue. See original summary.

tsplash’s picture

tsplash’s picture

tsplash’s picture

tsplash’s picture

tsplash’s picture

Issue summary: View changes
ergonlogic’s picture

Status: Active » Needs review

Indeed. It looks like the D7 conversion missed that SQL. Code looks fine. Can anyone test?

helmo’s picture

Status: Needs review » Fixed

Thanks, verified with a few runs of:
drush @hostmaster php-eval "echo hosting_task_count_running()"

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.