Skip to content

Commit

Permalink
rali
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Dec 17, 2024
1 parent 560098c commit a84b93c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plumpy/process_comms.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,15 +401,15 @@ def play_all(self) -> None:
"""
self._communicator.broadcast_send(None, subject=Intent.PLAY)

def kill_process(self, pid: 'PID_TYPE', msg_text: Optional[str] = None, force_kill: bool = False) -> kiwipy.Future:
def kill_process(self, pid: 'PID_TYPE', msg_text: Optional[str] = None) -> kiwipy.Future:
"""
Kill the process
:param pid: the pid of the process to kill
:param msg: optional kill message
:return: a response future from the process to be killed
"""
msg = MessageBuilder.kill(text=msg_text, force_kill=force_kill)
msg = MessageBuilder.kill(text=msg_text)
return self._communicator.rpc_send(pid, msg)

def kill_all(self, msg_text: Optional[str]) -> None:
Expand Down

0 comments on commit a84b93c

Please sign in to comment.