@ptt-bds said in Question about running threads: Do not automatically terminate threads when encountering errors.:
@Fox said in Question about running threads: Do not automatically terminate threads when encountering errors.:
If you use English to communicate, more people will be able to help you.
I have a script that scans information from more than 500 websites and runs continuously without stopping. I usually run 25 threads, but after a day, I often have to restart the software because it seems like there are not enough threads running. It's possible that some websites or scripts encounter errors, leading to thread interruptions. Is there a way to ensure that there are always 25 threads running, and that websites with errors will be retried in the subsequent loops?
Why did you duplicate your first message to me in this topic? It was in English anyway.
