Skip to content

Commit

Permalink
BF #14
Browse files Browse the repository at this point in the history
  • Loading branch information
veny committed Jul 14, 2014
1 parent 93fe533 commit 34652f6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/gearmanode.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ var winston = require('winston'),
Worker = require('./gearmanode/worker').Worker;


winston.log('info', 'GearmaNode %s, running on Node.js %s [%s %s]',
version.VERSION, process.version, process.platform, process.arch);
winston.log('info', 'GearmaNode %s, running on Node.js %s [%s %s], with pid %d',
version.VERSION, process.version, process.platform, process.arch, process.pid);


/**
Expand Down
1 change: 1 addition & 0 deletions lib/gearmanode/job-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ JobServer.prototype.disconnect = function (err) {
// remove listeners from socket
this.socket.removeAllListeners();

this.socket.unref(); // allow the program to exit if this is the only active socket in the event system
this.socket.end();
delete this.socket;
}
Expand Down
1 change: 1 addition & 0 deletions lib/gearmanode/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@


exports.VERSION_HISTORY = [
['0.1.7', '2014-14-07', 'BF #14'],
['0.1.6', '2014-17-06', 'BF #13'],
['0.1.5', '2014-20-03', 'added SET_CLIENT_ID; integration with Travis CI; BF #9'],
['0.1.4', '2014-28-02', 'added CAN_DO_TIMEOUT; BF #7'],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gearmanode",
"version": "0.1.6",
"version": "0.1.7",
"description": "Node.js library for the Gearman distributed job system with support for multiple servers",
"keywords": ["gearman", "distributed", "message queue", "job", "worker"],
"author": "Vaclav Sykora <vaclav.sykora@gmail.com>",
Expand Down

0 comments on commit 34652f6

Please sign in to comment.