Skip to content

Commit

Permalink
[build] Timer multiplyer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Oct 23, 2023
1 parent 7678426 commit 20a0db7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -3764,15 +3764,15 @@ def run_search_loop(self) -> NoReturn:
years_index += 1
self.search_current_year = years[years_index]
elif self.arr_db_query_commands_count() == 0 or datetime.now() > (
(timer + loop_timer) * 4
timer + (loop_timer * 4)
):
self.refresh_download_queue()
self.force_grab()
raise RestartLoopException
elif (
datetime.now() > (timer + loop_timer)
and self.arr_db_query_commands_count() == 0
) or datetime.now() > ((timer + loop_timer) * 4):
) or datetime.now() > (timer + (loop_timer * 4)):
self.refresh_download_queue()
self.force_grab()
raise RestartLoopException
Expand Down

0 comments on commit 20a0db7

Please sign in to comment.