Flint: 100% CPU confumption at startup
Noticed at ID15A.
Flint is using 100% CPU at startup while there is nothing to do.
Aster about 1m the CPU slow down.
I though it was the initial redis get through, but it looks like it is not the case.
ready_event = gevent.event.Event()
_logger.error("1) Starting listening scans...")
task = gevent.spawn(
watch_session_scans,
session_name,
self.new_scan,
self.new_scan_child,
self.new_scan_data,
self.end_scan,
ready_event=ready_event,
watch_scan_group=True,
exclude_existing_scans=True,
)
ready_event.wait()
_logger.error("2) Start listening scans")
Cause the 2 logs was displayed.