INNER CODE UNIT · Python
run_deadline
OpenOSINT/OpenOSINT · actors/username-recon/src/main.py:208
run_deadline = time.monotonic() + _MAX_RUN_SECONDS
charging_manager = Actor.get_charging_manager()
control_username = generate_control_username()
control_hits, control_ok, _control_skipped = await scan_username(control_username, chunks, run_deadline)
noisy_platforms = set(_KNOWN_NOISY_SITES) | {hit["platform"] for hit in control_hits}
if not control_ok:
Actor.log.warning("Control scan for false-positive detection failed entirely — proceeding without it.")
newly_flagged = noisy_platforms - _KNOWN_NOISY_SITES
if newly_flagged:
Actor.log.info(f"Control scan flagged {len(newly_flagged)} noisy site(s) this run: {sorted(newly_flagged)}")
total_found = 0
total_sites_skipped = 0
scanned_ok = 0
failed_usernames: list[str] = []
limit_reached = False
summaries: dict[str, dict] = {}