Can we run queue parallelly?

Can we run queue parallelly?

I’m creating queue dynamically i.e. 1 2 3 4 5 based on the request comes from end user.
i want to perform background jobs for all the queue parallelly.

Is this possible?

@Parth_Pathak,

You wouldn’t normally create queues dynamically in hangfire. Once a worker is setup and running, the number of workers/threads is fixed.

You can start a worker with options to specify the max number of parallel workers:

new BackgroundJobServer(new BackgroundJobServerOptions() { Queues = new[] { "pdf" }, WorkerCount = 10 });