From b30e0b0cf43c0c71361becbad54fd7b1c4d81e94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Fri, 24 Jan 2025 14:48:47 +0100 Subject: [PATCH] chg: [AIL] Skip captures with errors --- bin/background_processing.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/background_processing.py b/bin/background_processing.py index aafbc2f6..5d9dd288 100755 --- a/bin/background_processing.py +++ b/bin/background_processing.py @@ -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)