Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
doc: fix typo in api/cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
Atsuya Takagi authored and bnoordhuis committed Sep 3, 2012
1 parent 7dfa587 commit 9f57e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/cluster.markdown
Expand Up @@ -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) {
Expand Down

0 comments on commit 9f57e42

Please sign in to comment.