Skip to content

Commit

Permalink
sf: allow 15 seconds for post-scan correlations to complete
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoles committed Nov 3, 2023
1 parent e84db07 commit 9a238d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sf.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,9 @@ def start_scan(sfConfig: dict, sfModules: dict, args, loggingQueue) -> None:
if not info:
continue
if info[5] in ["ERROR-FAILED", "ABORT-REQUESTED", "ABORTED", "FINISHED"]:
# allow 15 seconds for post-scan correlations to complete
p.join(timeout=15)

if sfConfig['__logging']:
log.info(f"Scan completed with status {info[5]}")
if args.o == "json":
Expand Down

0 comments on commit 9a238d3

Please sign in to comment.