Maciej Małecki
c6c6f98f1c
util: add `util._extend` for extending objects
There were 2 duplicates with such functionality in `cluster` and
`child_process` modules which were replaced by this function.
13 years ago
isaacs
0cdf85e28d
Lint all the JavaScripts.
13 years ago
Andreas Madsen
1595a6e885
cluster: use process.disconnect method
After adding a .disconect method and connected flag in child_process
we should no longer use the process._channel object.
13 years ago
Andreas Madsen
a20872045a
cluster: simplify process event handling
This simplify the internalMessage and exit event handling
And simply relay message and error event to the worker object
Note that the error event was not relayed before
13 years ago
Andreas Madsen
f9a47debfc
Add cluster.setupMaster
Fixes #2470
13 years ago
Ben Noordhuis
d44ce97909
cluster: don't always kill the master on uncaughtException
uncaughtException handlers installed by the user override the default one that
the cluster module installs, the one that kills off the master process.
Fixes #2556 .
13 years ago
Andreas Madsen
c8108aad83
child_process: fix typo in internal message event name
13 years ago
Andreas Madsen
e2f1e50c60
typos
fixes #2465
13 years ago
Andreas Madsen
5f08c3cfa1
cluster improvements: Worker class and isolate internal messages
Fixes #2388
13 years ago
Andreas Madsen
3966e4e7a5
Remove debug console.log and optimize object copy
Fixes #2380
13 years ago
Andreas Madsen
07b1997388
Add env argument to cluster.fork
Fixes 2378
13 years ago
Andreas Madsen
a599aeb2a8
jslint
Fixes #2306
13 years ago
Ryan Dahl
4e2343c6b5
Fixes #2073 . Cluster should be silent.
13 years ago
Ryan Dahl
0fa3cf94a3
Remove 'report this bug' message from cluster master
13 years ago
Ryan Dahl
da9bf0ee80
Fixes #2047 . Fill workers array immediately after fork
13 years ago
Ben Noordhuis
105d1787dc
cluster: fix call to undefined function
13 years ago
Ryan Dahl
d42006c80a
cluster: Remove eachWorker, workerCount
unnecessary
13 years ago
Ryan Dahl
86528489ec
new cluster api
13 years ago
Bert Belder
189dd8f803
Fix line endings and trailing whitespace
13 years ago
Tj Holowaychuk
528c28587f
cluster: Add some docs, improve cluster.isWorker()
Fixes #1949 .
13 years ago
Ryan Dahl
c5d54010bc
node cluster is now a module instead of CLI interface
This is to make room for master process plugins instead of adding CLI
options as proposed in #1879 .
13 years ago
Ryan Dahl
87339a22b1
introduce node cluster
13 years ago