My bot starts with 50 threads, is there a better way to control the running threads, maybe 20-25 threads run at the same time?
Now I control this with sleep function, 25 threads working for 30 minutes and then sleep for 40 minutes. And when those threads sleeps I run the other 25 threads.
@Fox Yes, but I couldn't find it, we can only choose what to do when a certain line gives an error, but the error can occur on any line. I want to run a command when the complete script gives an error?