Skip to content
This repository was archived by the owner on Feb 27, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@ Gracefully shut down the worker nodes and then process.exit(0).

Forcibly shut down the worker nodes and then process.exit(1).

### clusterMaster.debug(arg1, arg2, ...)

Arguments passed to debug are formatted with util.format and output
to stdout and any REPL's.

```javascript
clusterMaster.debug('The number one is %s', 1);
```

## Configs

The `exec`, `env`, `argv`, and `silent` configs are passed to the
Expand Down
1 change: 1 addition & 0 deletions cluster-master.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ var cluster = require("cluster")
, util = require('util')

exports = module.exports = clusterMaster
exports.debug = debug
exports.restart = restart
exports.resize = resize
exports.quitHard = quitHard
Expand Down