Multiple timers inside a parallel.for
I wonder if anyone can help me understand something. I have a service running every 30 seconds via a system.timers.timer. This will execute a procedure which will check our database and process some data if there is any. If it does need to process data then there can be loads of different things it needs to do, as a result a parallel.for is used (as we want each iteration to be a separate task/thread) However each iteration can take a while so we spawn another task which creates another system.timers.timer to use so we can log something every 5 seconds. Once this specific task is completed we want to stop the timer.