[BUG] Progress still stuck at 99%
Jobs still get stuck at 99%, maybe add a failsafe where if progress hasn't moved for more than 5 minutes and no checks have been performed (no results in parallelizer) consider the work finished.
This is supposed to be temporary while I find the actual root cause (which is kinda hard to debug as it only happens sometimes and if you run it over long periods of time).
try changing up the way it reads the combo.txt
That's not the issue here. It goes through all lines, but the number of tested data doesn't match with the hits + fails + custom + tocheck so there's clearly something wrong where it's not counting some tested data even if it was actually tested. And the progress depends on the tested data. And if the progress is less than 100%, there is a while loop that will wait until it's 100% otherwise the job will not finish.
ahhh i understand, maybe you can make a kill() call for each thread if x thread doesn’t compete in x amount of time kill(thread) else continue.
var Td = thread
foreach Td { //wait timer for thread to finish checking wait 10000 continue; else kill(Td) }
They're not threads, they're tasks. Also people might have a config that takes 10 minutes to check 1 line so enforcing a given time has its drawbacks. I will find a way to do this properly, I just have to sit here and debug.