From 89788dc347490f1ca3fcdde705ec1454d9b1be99 Mon Sep 17 00:00:00 2001 From: James M Snell Date: Fri, 14 Aug 2015 15:12:47 -0700 Subject: [PATCH] doc: fixed worker.id type per: https://github.com/joyent/node/pull/25459 originally submitted by @sonnyp Reviewed By: Sakthipriyan Vairamani PR-URL: https://github.com/nodejs/node/pull/2378 --- doc/api/cluster.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/cluster.markdown b/doc/api/cluster.markdown index 13ac19e..a40e4e7 100644 --- 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`. -- 2.7.4