mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-11-06 23:43:07 -05:00
The 10s floor gave `iw` the whole deadline when RUN_TIMEOUT is 10s, so a stuck scan couldn't be logged before core killed the script. The margin is now min(15s, RUN_TIMEOUT // 2) and the subprocess guard stays within it, so both end before core's limit. Also adds docstrings to the new scan() tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>