Comparing version 2.1.9 to 2.1.10
@@ -0,1 +1,12 @@ | ||
## 2.1.10 2016-09-14 | ||
- Fix bug that stopped the server implemention of `getStatus` from working at all. (@nponeccop) | ||
- Fix bug during job assignment where it was trying to use | ||
server.workersCount instead of client.workers. (@nponeccop) | ||
## 2.1.9 2016-05-11 | ||
- Bug fixes | ||
- Dependency update | ||
- Much faster (2-3x) over high latency networks | ||
## 2.1.6 2015-12-09 | ||
@@ -9,2 +20,2 @@ | ||
- SPDX licensing change | ||
- Switch test tool from `tape` to `tap` | ||
- Switch test tool from `tape` to `tap` |
@@ -12,3 +12,3 @@ { | ||
"author": "Rebecca Turner <me@re-becca.org> (http://re-becca.org)", | ||
"version": "2.1.9", | ||
"version": "2.1.10", | ||
"dependencies": { | ||
@@ -19,3 +19,3 @@ "backoff": "^2.4.0", | ||
"duplex-combination": "^1.2.0", | ||
"emptyfunction": "0.0.0", | ||
"emptyfunction": "^1.0.0", | ||
"gearman-packet": "^1.0.3", | ||
@@ -34,6 +34,2 @@ "isa-stream": "^1.0.1", | ||
}, | ||
"engineStrict": true, | ||
"engines": { | ||
"node": ">= 0.10.0" | ||
}, | ||
"repository": { | ||
@@ -45,7 +41,31 @@ "type": "git", | ||
"stream-array": "^1.1.1", | ||
"tap": "^5.0.1" | ||
"tap": "^7.1.2" | ||
}, | ||
"directories": { | ||
"test": "test" | ||
} | ||
"files": [ | ||
"errors.js", | ||
"example.js", | ||
"index.js", | ||
"echo.js", | ||
"packet-handler.js", | ||
"server-connection.js", | ||
"server-job-background.js", | ||
"server-job-multi.js", | ||
"debug-packet.js", | ||
"server-job-single.js", | ||
"cvar.js", | ||
"server-job.js", | ||
"client.js", | ||
"server.js", | ||
"client-reconnect.js", | ||
"socket.js", | ||
"client-jobs.js", | ||
"stream-replay.js", | ||
"client-connection.js", | ||
"stream-to-buffer.js", | ||
"task-client.js", | ||
"admin.js", | ||
"task.js", | ||
"task-worker.js", | ||
"worker.js" | ||
] | ||
} |
Abraxas | ||
------- | ||
[![Join the chat at https://gitter.im/iarna/abraxas](https://badges.gitter.im/iarna/abraxas.svg)](https://gitter.im/iarna/abraxas?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
A gearman client, worker and server module implemented on top of gearman-protocol | ||
@@ -5,0 +7,0 @@ for full end-to-end streaming support. |
@@ -116,3 +116,3 @@ "use strict"; | ||
this.packets.accept('GET_STATUS', function (data) { | ||
self.emit('get-status',data.args.job,client); | ||
self.emit('get-status',data.args.job,self); | ||
}); | ||
@@ -119,0 +119,0 @@ this.packets.accept('GRAB_JOB', function (data) { |
@@ -133,2 +133,3 @@ "use strict"; | ||
Server.prototype.getStatus = function (jobid,client) { | ||
var status | ||
this.withJob(client,jobid,function(job) { | ||
@@ -196,3 +197,3 @@ status = job.getStatus(); | ||
}).filter(function(job) { | ||
return self.workersCount[job.function] && !job.worker; | ||
return client.workers[job.function] && !job.worker; | ||
}).sort(function(A,B) { | ||
@@ -199,0 +200,0 @@ if (A.priority > B.priority) return -1; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
601
111521
28
2259
+ Addedemptyfunction@1.0.0(transitive)
- Removedemptyfunction@0.0.0(transitive)
Updatedemptyfunction@^1.0.0