Skip to content

Commit

Permalink
node/server: added experimental support for cluster.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeetienne committed Mar 1, 2011
1 parent 118e105 commit 8bfe7d9
Show file tree
Hide file tree
Showing 74 changed files with 4,630 additions and 1 deletion.
15 changes: 15 additions & 0 deletions node/server/cluster.js
@@ -0,0 +1,15 @@
#!/usr/bin/env node
/**
* cluster script - https://github.com/learnboost/cluster
*/

var cluster = require('cluster');

cluster('./server.js')
.set('workers', 1) // only 1 workers
.use(cluster.logger('logs'))
.use(cluster.stats())
.use(cluster.pidfiles('pids'))
.use(cluster.cli())
.use(cluster.repl(8888))
.listen(8667);
Binary file added node/server/node_modules/cluster/._History.md
Binary file not shown.
Binary file added node/server/node_modules/cluster/._Readme.md
Binary file not shown.
Binary file added node/server/node_modules/cluster/._package.json
Binary file not shown.
Binary file added node/server/node_modules/cluster/._test.js
Binary file not shown.
3 changes: 3 additions & 0 deletions node/server/node_modules/cluster/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions node/server/node_modules/cluster/.gitmodules

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions node/server/node_modules/cluster/.npmignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

112 changes: 112 additions & 0 deletions node/server/node_modules/cluster/History.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions node/server/node_modules/cluster/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions node/server/node_modules/cluster/Makefile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

98 changes: 98 additions & 0 deletions node/server/node_modules/cluster/Readme.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added node/server/node_modules/cluster/docs/._api.md
Binary file not shown.
Binary file added node/server/node_modules/cluster/docs/._cli.md
Binary file not shown.
Binary file added node/server/node_modules/cluster/docs/._debug.md
Binary file not shown.
Binary file added node/server/node_modules/cluster/docs/._logger.md
Binary file not shown.
Binary file added node/server/node_modules/cluster/docs/._pidfiles.md
Binary file not shown.
Binary file added node/server/node_modules/cluster/docs/._reload.md
Binary file not shown.
Binary file added node/server/node_modules/cluster/docs/._repl.md
Binary file not shown.
Binary file added node/server/node_modules/cluster/docs/._stats.md
Binary file not shown.

0 comments on commit 8bfe7d9

Please sign in to comment.