summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRon Korving <rkorving@wizcorp.jp>2012-08-21 17:11:04 +0900
committerBen Noordhuis <info@bnoordhuis.nl>2012-08-22 09:33:52 +0200
commit2e1f2b535e91506a128062ead055da0a9447b17e (patch)
tree9d52b3d62c3fb96af32853a1d6b34573d302f909
parent2f1985ca7dc465c8b28318b903fe411385b211cc (diff)
downloadnode-new-2e1f2b535e91506a128062ead055da0a9447b17e.tar.gz
doc: fix typo in cluster example code
-rw-r--r--doc/api/cluster.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/cluster.markdown b/doc/api/cluster.markdown
index de0e897326..fa96d488d6 100644
--- a/doc/api/cluster.markdown
+++ b/doc/api/cluster.markdown
@@ -361,7 +361,7 @@ server. An alternative wound be to execute `worker.destroy()` after 2 seconds, b
that would normally not allow the worker to do any cleanup if needed.
if (cluster.isMaster) {
- var worker = cluser.fork();
+ var worker = cluster.fork();
var timeout;
worker.on('listening', function(address) {