Skip to content
Prev Previous commit
Next Next commit
Fix markdown lint
  • Loading branch information
Bar Admoni committed Feb 4, 2022
commit 616a414beda50aa2daf11b4beff7e179d4fabf6f
6 changes: 3 additions & 3 deletions doc/api/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -577,9 +577,9 @@ added: v0.9.12
* `signal` {string} Name of the kill signal to send to the worker
process. **Default:** `'SIGTERM'`

This function will kill the worker. In the primary worker, it does this by disconnecting
the `worker.process`, and once disconnected, killing with `signal`. In the
worker, it does it by killing the process with `signal`.
This function will kill the worker. In the primary worker, it does this by
disconnecting the `worker.process`, and once disconnected, killing with
`signal`. In the worker, it does it by killing the process with `signal`.

The `kill()` function kills the worker process without waiting for a graceful
disconnect, it has the same behavior as `worker.process.kill()`.
Expand Down