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.
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.
Comment | File | Size | Author |
---|---|---|---|
#4 | hostmaster-fix-task-count-running-2738587.patch | 960 bytes | tsplash |
Comments
Comment #2
tsplash CreditAttribution: tsplash as a volunteer commentedComment #3
tsplash CreditAttribution: tsplash as a volunteer commentedComment #4
tsplash CreditAttribution: tsplash as a volunteer commentedComment #5
tsplash CreditAttribution: tsplash as a volunteer commentedComment #6
tsplash CreditAttribution: tsplash as a volunteer commentedComment #7
ergonlogicIndeed. It looks like the D7 conversion missed that SQL. Code looks fine. Can anyone test?
Comment #8
helmo CreditAttribution: helmo at Initfour websolutions for Aegir Cooperative commentedThanks, verified with a few runs of:
drush @hostmaster php-eval "echo hosting_task_count_running()"