doc: fix typo in api/cluster

v0.8.16-release
Atsuya Takagi 2012-09-03 03:09:50 -07:00 committed by Ben Noordhuis
parent 7dfa587d18
commit 9f57e422cf
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ the worker finally die.
Because there might be long living connections, it is useful to implement a timeout. 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 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. that would normally not allow the worker to do any cleanup if needed.
if (cluster.isMaster) { if (cluster.isMaster) {