Add masked super timeout line to `do_hard_kill()` for would-be runtime hackers

multihomed
Tyler Goodlet 2023-10-18 15:29:43 -04:00
parent 0c74b04c83
commit 190845ce1d
1 changed files with 4 additions and 0 deletions

View File

@ -199,6 +199,10 @@ async def do_hard_kill(
proc: trio.Process,
terminate_after: int = 3,
# NOTE: for mucking with `.pause()`-ing inside the runtime
# whilst also hacking on it XD
# terminate_after: int = 99999,
) -> None:
# NOTE: this timeout used to do nothing since we were shielding
# the ``.wait()`` inside ``new_proc()`` which will pretty much