Closed emimaesmith closed 4 years ago
manage.py test
scheduler
Tweaked scheduler logic to fill QUEUE_LIMIT instead of only grabbing the first 500 items in the queue table as this could lead to constantly grabbing the same 500 unschedulable jobs.
Closing as I'm not convinced this is the right approach. Will revisit if future testing reveals we need to re-write the scheduler logic.
Checklist
manage.py test
passesAffected app(s)
scheduler
Description of change
Tweaked scheduler logic to fill QUEUE_LIMIT instead of only grabbing the first 500 items in the queue table as this could lead to constantly grabbing the same 500 unschedulable jobs.
1851