projects
/
platform
/
upstream
/
nodejs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
doc: fixed worker.id type
[platform/upstream/nodejs.git]
/
doc
/
api
/
cluster.markdown
diff --git
a/doc/api/cluster.markdown
b/doc/api/cluster.markdown
index
13ac19e
..
a40e4e7
100644
(file)
--- a/
doc/api/cluster.markdown
+++ b/
doc/api/cluster.markdown
@@
-384,7
+384,7
@@
it can be obtained using `cluster.worker`.
### worker.id
-* {
String
}
+* {
Number
}
Each new worker is given its own unique id, this id is stored in the
`id`.