mirror of https://github.com/CIRCL/lookyloo
fix: Force BG processor to index all the recent captures
parent
e6c23a3bc7
commit
d97ed26054
|
@ -66,7 +66,7 @@ class BackgroundIndexer(AbstractManager):
|
||||||
|
|
||||||
def _check_indexes(self):
|
def _check_indexes(self):
|
||||||
index_redis = self.lookyloo.indexing.redis
|
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:
|
if self.lookyloo.is_public_instance and cache.no_index:
|
||||||
# Capture unindexed
|
# Capture unindexed
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue