Download & Extend

provide ability to jobs to add themselves back to the queue

Project:Job queue
Version:5.x-2.0
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I found this module useful, but I was vexed as to how to allow my jobs to re-add themselves to the queue without having the job queue cron run for the full 1/2 length of the maximum php execution time (as per job_queue_cron). I added a counter that will limit the job_queue to either half the maximum execution time for php or the total number of jobs (whichever comes first).

AttachmentSize
cap_jobs_to_original.patch677 bytes

Comments

#1

Status:needs review» fixed

Committed to Drupal 5.x with some code cleanup.

#2

Status:fixed» closed (fixed)

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