Delay between processing functions

I need to set a gap between processing jobs. i.e wait 30 seconds before processing the net job.

I’ve added the following line to my startup.cs file, however the server says it’s running 16 threads:

var options = new BackgroundJobServerOptions { WorkerCount = Environment.ProcessorCount * 1 };

Does anyone know if what I’m trying to acheive is possible?

So you don’t want to have any sort of parallelism? Sounds like strange design to me. Cheapest solution would be to set WorkerCount = 1 and have a Thread.Sleep(30000) at the end of your job.