Skip to content
Snippets Groups Projects
Commit 6b374296 authored by Radosław Masłowski's avatar Radosław Masłowski
Browse files

wip

parent 5fe4e80a
No related branches found
No related tags found
No related merge requests found
Pipeline #119117 failed
......@@ -50,7 +50,7 @@ def close_already_running_beekeeper(*, pid: int) -> None:
_wait_for_pid_to_die(pid, timeout_secs=10) # check is process actually dead
logger.debug("Process was closed with SIGINT")
except TimeoutError:
sig = signal.SIGKILL # type: ignore[assignment] # in case of no reaction to ^C, kill process hard way
sig = signal.SIGKILL # in case of no reaction to ^C, kill process hard way
os.kill(pid, sig)
_wait_for_pid_to_die(pid) # confirm is hard way take effect
logger.debug("Process was force-closed with SIGKILL")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment