Attached is a patch (unfortunately, generated from my SVN working copy rather than from Git) against the dev branch of job_queue.

It provides a local take to the job queue report which allows a batch task to be started to complete the entire job queue - handy if there are several thousand items in the queue (as there often is when generating the API).

It provides a progress bar, numeric "x of y remaining" and an estimated time remaining (based on batch time, completed items and remaining items). There is also a "cancel" link which simply takes you out of the batch which will finish when the next "round" is completed.

Jobs are executed in as many as can be done in 5 seconds - after than the batch refreshes. This frequency gives a balance between job completion and progress bar update frequency.

Also attached is a screenshot of the patch in progress on my local devbox.
Screenshot

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

stewsnooze’s picture

Status: Needs review » Needs work

There are a number of comments that should have full stops added. For instance

+  // Initialize the sandbox

Other than that it looks good.

stewsnooze’s picture

Issue summary: View changes

Updated the Image SRC.