diff --git a/doc/api/cluster.markdown b/doc/api/cluster.markdown index 1b0aff2424..f510468c89 100644 --- a/doc/api/cluster.markdown +++ b/doc/api/cluster.markdown @@ -642,6 +642,7 @@ cluster.setupMaster({ }); cluster.fork(); // https worker cluster.setupMaster({ + exec: 'worker.js', args: ['--use', 'http'] }); cluster.fork(); // http worker