You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add new option TaskScheduler\Scheduler::OPTION_PRIORITY integer
Job with a higher priority should be processed before jobs with a lower (or 0).
Sorting by prio may be a problem since we can not sort a tailable cursor nor a changestream.
One possibility is to listen for new jobs and after processing a job do get first ordered by priority. If this results in 0 jobs start a tailable cursor (or this may be changestream in v4).
The text was updated successfully, but these errors were encountered:
Job with a higher priority should be processed before jobs with a lower (or 0).
Sorting by prio may be a problem since we can not sort a tailable cursor nor a changestream.
One possibility is to listen for new jobs and after processing a job do get first ordered by priority. If this results in 0 jobs start a tailable cursor (or this may be changestream in v4).
The text was updated successfully, but these errors were encountered: