My script need to change the threads number dynamically, e.g.: 9:00-10:00 i need 30 threads,10:00-11:00 40 threads ...
What should I do?
Dynamically increase the number of threads can not. Specify at once the maximum number of threads, and let the excess threads sleep. Or use the action "Call function in several threads".
If I am running a script and one thread fails, the data used for it will disappear from the source and I cannot see which one has to be reused.
There is no way to know which data was taken, 'cause the thread had deleted all things used before. But u could log data used before the thread will be crashed.