Skip to content

Commit

Permalink
Version bump to v0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lmorchard committed May 13, 2014
1 parent 1940076 commit ac25759
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
4 changes: 1 addition & 3 deletions README.md
Expand Up @@ -22,11 +22,9 @@ Installation
------------

````
$ npm install git://github.com/lmorchard/node-hirelings
$ npm install node-hirelings
````

**TODO:** Needs submission to npm. (*I'm scared, Sarge.*)

Usage
-----

Expand Down
1 change: 0 additions & 1 deletion lib/hirelings.js
Expand Up @@ -38,7 +38,6 @@ function Pool (options) {
// ### Options
//
Pool.DEFAULT_OPTIONS = {

// * `max_processes` - Max number of worker processes allowed to spawn
max_processes: Math.ceil(require('os').cpus().length * 1.25),
// * `max_jobs_per_process` - Max number of jobs allowed per worker before
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"author": "Les Orchard <me@lmorchard.com> (http://lmorchard.com)",
"name": "hirelings",
"description": "Manage a pool of disposable processes working on queued jobs",
"version": "0.4.0",
"version": "0.4.1",
"homepage": "https://github.com/lmorchard/node-hirelings",
"repository": {
"type": "git",
Expand Down
8 changes: 5 additions & 3 deletions test/basic-test.js
Expand Up @@ -22,9 +22,11 @@ var MAX_KILLS = 5;

var suite = vows.describe('Basic processes tests');

process.on('uncaughtException', function (e) {
util.debug("EXCEPTION " + e.stack);
});
if (DEBUG) {
process.on('uncaughtException', function (e) {
util.debug("EXCEPTION " + e.stack);
});
}

function poolTopic (worker_name, options) {
var self = this;
Expand Down

0 comments on commit ac25759

Please sign in to comment.