Skip to content

Commit

Permalink
chg: [AIL] Skip captures with errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Jan 24, 2025
1 parent ae71a61 commit b30e0b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/background_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ def _process_built_captures(self) -> None:
self.lookyloo.update_cache_index()
for cached in self.lookyloo.sorted_capture_cache(index_cut_time=cut_time):
if self.ail.available:
if cached.error:
continue
if self.lookyloo.redis.exists(f'bg_processed_ail|{cached.uuid}'):
continue
self.lookyloo.redis.setex(f'bg_processed_ail|{cached.uuid}', redis_expire, 1)
Expand Down

0 comments on commit b30e0b0

Please sign in to comment.