-
-
Notifications
You must be signed in to change notification settings - Fork 833
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Job queueing #1379
Job queueing #1379
Conversation
Looks ok and tests ok ( merging to dev is necessary for more externsive testing ) It should be mentioned somewhere that tasks that rely on configuration options (eg number of parallel tasks, encoding presets, ...) will use the option set during their execution not addition to the queue |
Major refactor of the job management system.
Jobs are now queued. The Tasks page now shows a job queue. When empty, it looks like so:
This empty space is fixed so that adding jobs to the queue does not make the rest of the page jump around with job items. This area is contained so that a scrollbar is shown if there is an overflow.
Here is a shot with the queue filled:
The first job has been cancelled and is no longer running. The second job shows the spinning cog icon to indicate that it is running. The latter two jobs are waiting to be run. Not shown here is a finished job shows a green tick icon, and a job that is stopping shows a red spinning cog icon. I'm not married to these icons/colours, so let me know if there's something better to use.
Jobs can show sub-tasks, as shown below:
Clicking the buttons in the task page adds jobs to the queue.
The performer tagger has been updated to accomodate this, but there is a limitation that if you navigate away and come back to the page, it won't detect the previously queued job.