doc: fix typo in api/cluster
This commit is contained in:
parent
7dfa587d18
commit
9f57e422cf
@ -357,7 +357,7 @@ the worker finally die.
|
||||
|
||||
Because there might be long living connections, it is useful to implement a timeout.
|
||||
This example ask the worker to disconnect and after 2 seconds it will destroy the
|
||||
server. An alternative wound be to execute `worker.destroy()` after 2 seconds, but
|
||||
server. An alternative would be to execute `worker.destroy()` after 2 seconds, but
|
||||
that would normally not allow the worker to do any cleanup if needed.
|
||||
|
||||
if (cluster.isMaster) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user