Skip to content

Commit

Permalink
Loop debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Dec 24, 2024
1 parent 878eb49 commit 0c6f377
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -1357,6 +1357,7 @@ def db_maybe_reset_entry_searched_state(self):
self.db_reset__episode_searched_state()
elif self.type == "radarr":
self.db_reset__movie_searched_state()
self.loop_completed = False

def db_reset__series_searched_state(self):
ids = []
Expand Down Expand Up @@ -4867,6 +4868,7 @@ def run_search_loop(self) -> NoReturn:
self.logger.trace("Restarting loop testing 2")
raise RestartLoopException
except RestartLoopException:
searched = True
self.loop_completed = True
self.db_update_processed = False
self.logger.info("Loop timer elapsed, restarting it.")
Expand Down

0 comments on commit 0c6f377

Please sign in to comment.