OpenBullet2 icon indicating copy to clipboard operation
OpenBullet2 copied to clipboard

[BUG] Progress still stuck at 99%

Open openbullet opened this issue 4 years ago • 4 comments

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).

openbullet avatar May 28 '21 22:05 openbullet

try changing up the way it reads the combo.txt

e393 avatar May 30 '21 17:05 e393

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.

openbullet avatar May 30 '21 22:05 openbullet

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) }

e393 avatar May 30 '21 23:05 e393

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.

openbullet avatar May 31 '21 00:05 openbullet