[Bug]: Multiple rescans running paralelly
gautamkrishnar opened this issue · comments
I've read the documentation
- I'm running the latest version of Tube Archivist and have read the release notes.
- I have read the how to open an issue guide, particularly the bug report section.
Operating System
Linux Arm
Your Bug Report
Describe the bug
I am running tube archivist with a hourly rescan interval. Sometimes, the rescan gets stuck and will go into endless scanning as shown in the image.
Steps To Reproduce
- Set hourly rescan
- wait
Expected behavior
When re-scanning, Tubearchivist should cancel the previously running scan. there should be an option in the UI to enable this as a checkbox so that this will be an opt-in feature.
Relevant log output
n/a
Anything else?
n/a
That shouldn't be happening, you should only be able to have one rescan process running:
https://github.com/tubearchivist/tubearchivist/blob/master/tubearchivist/home/tasks.py#L178-L182
There must be something else going on. What do the logs say? And also probably rescan once per hour is too much, you might be getting blocked by YT at this point.
Or maybe that's just the notification getting stuck?
@bbilly1 will dig into it this weekend. I agree, most probably its youtube blocking the requests. Will let you know.
Hello @bbilly1 I think have the same or similar thing happening...
It gets stuck like this.
TA container Logs:
ta_logs.txt
Regards
For me its just youtube throttling my IP
Ah, I see, I think that makes my issue different then. Since yours is backing up with scanning subscriptions, mine is reindexes...
I'll make another issue, if I see it again, as I restarted TA.