nickbradley / autotest

CPSC 310 GitHub integration service.
1 stars 2 forks source link

Process jobs in two queues #4

Closed nickbradley closed 7 years ago

nickbradley commented 7 years ago

Currently, only one queue manages all commit jobs. This has the drawback that commits students want to see the grade for may be behind many (unimportant -- to the students) other jobs.

Proposal. Create two queues: standard and express. All commits initially go into the standard queue. If a student requests their grade, the job should be moved from the standard queue and put into the express queue.

Assumptions.

Edge cases.