Yes, I am already using try catch, but I still wanted to ask about this. I thought there was a specific action for this in BAS, such as OnApplicationExit, just like ‘OnApplicationStart’.
@UserTrue Thank you for your advice. Yes, at first I tried the built in mongodb with it's module. It made me quite fast switch over to MySQL and the appropriate node.js module ;)
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".