This commit is contained in:
Christopher Jeffrey 2016-05-03 03:56:07 -07:00
parent a5ad8dcbfa
commit aac2f629d0
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -54,7 +54,7 @@ Workers.CORES = getCores();
/**
* Spawn a new worker.
* @param {Number} index - Worker ID.
* @returns {ChildProcess}
* @returns {Worker}
*/
Workers.prototype.spawn = function spawn(id) {
@ -96,7 +96,7 @@ Workers.prototype.spawn = function spawn(id) {
* and will automatically load balance the workers based
* on job ID.
* @param {Number} job
* @returns {ChildProcess}
* @returns {Worker}
*/
Workers.prototype.alloc = function alloc(job) {