From e89e9a20cb4e6a0e6343b5cded28ecefc12e9952 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Fri, 12 Aug 2022 01:08:28 +0200 Subject: [PATCH] fix: Force BG processor to index all the recent captures --- bin/background_indexer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/background_indexer.py b/bin/background_indexer.py index a4f5df1..b920a12 100755 --- a/bin/background_indexer.py +++ b/bin/background_indexer.py @@ -66,7 +66,7 @@ class BackgroundIndexer(AbstractManager): def _check_indexes(self): index_redis = self.lookyloo.indexing.redis - for cache in self.lookyloo.sorted_capture_cache(): + for cache in self.lookyloo.sorted_capture_cache(cached_captures_only=False): if self.lookyloo.is_public_instance and cache.no_index: # Capture unindexed continue