(self, port, ping_timeout)
| 17 | class SiblingKiller: |
| 18 | |
| 19 | def __init__(self, port, ping_timeout): |
| 20 | self.all_processes = self.ps_dash_w() |
| 21 | self.all_pids = self.all_process_ids() |
| 22 | self.__allow_serving = False |
| 23 | self.__my_pid = self.my_process_id() |
| 24 | self.port = port |
| 25 | self.ping_timeout = ping_timeout |
| 26 | logging.debug(f"Sibling killer: my process id = {self.__my_pid}") |
| 27 | |
| 28 | |
| 29 | def allow_serving(self): |
nothing calls this directly
no test coverage detected