We shall have an option for the drush command to run only a group of queues.

For example: drush advancedqueue-process-queue --group=migrate

CommentFileSizeAuthor
#1 2013687-advancedqueue-groups-1.patch1.74 KBskipyT
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

skipyT’s picture

Status: Needs work » Needs review
FileSize
1.74 KB

I added the group option to the drush command. Diff file attached.

ekes’s picture

If I understand this requires the implementer of hook_advanced_queue_info() to implement a ['group'] for the item. So I guess would also need the documentation (which I think is just the advancequeue_example) updating?

  • Kazanir committed acbd1ff on 7.x-1.x
    Issue #2013687 by skipyT, Kazanir: Add the possibility to group the...
Kazanir’s picture

Title: Add the posibility to group the queue jobs » Add the possibility to group the queue jobs
Assigned: Unassigned » Kazanir
Issue summary: View changes
Status: Needs review » Fixed

This patch wouldn't have worked without a lot of notices due to how array append operators work in PHP, but I expanded on it and allowed you to declare multiple groups per queue info, meaning that it now functions more like a "tag" system and improves the overall flexibility. Committed.

Kazanir’s picture

Status: Fixed » Closed (fixed)

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