Order of the jobs been processed in a single queue


#1

Let’s say I have the hangfire server configured with 20 workers. Also, let’s say that there are 100 jobs added to the one default queue. How do these workers determine which job gets processed before other jobs? Does this get prioritized by the job’s creation date? Is there any way to change the priority of how these jobs get processed within a single queue?


#2

I would believe each queue is processed in order of creation. At least I have never seen any signs of it being otherwise.
You can check the source code if you want confirmation I guess.