mirror of https://github.com/CIRCL/lookyloo
fix: index page stuck building captures for no good reason
parent
6bb660ed82
commit
2c5c30006c
|
@ -458,7 +458,11 @@ class Lookyloo():
|
||||||
if datetime.fromisoformat(date_str).replace(tzinfo=timezone.utc) < index_cut_time:
|
if datetime.fromisoformat(date_str).replace(tzinfo=timezone.utc) < index_cut_time:
|
||||||
continue
|
continue
|
||||||
capture_uuids.append(uuid)
|
capture_uuids.append(uuid)
|
||||||
cached_captures_only = False
|
# NOTE: we absolutely have to respect the cached_captures_only setting and
|
||||||
|
# never overwrite it. This method is called to display the index
|
||||||
|
# and if we try to display everything, including the non-cached entries,
|
||||||
|
# the index can get stuck building a lot of captures
|
||||||
|
# cached_captures_only = False
|
||||||
|
|
||||||
if not capture_uuids:
|
if not capture_uuids:
|
||||||
# No captures at all on the instance
|
# No captures at all on the instance
|
||||||
|
|
Loading…
Reference in New Issue