Comparing version 1.0.2 to 1.0.3
@@ -128,3 +128,3 @@ function Tress(worker, concurrency){ // function worker(job, done) | ||
Object.defineProperty(this, 'concurrency', { | ||
get: () => (_concurrency > 1 ? _concurrency : -_delay), | ||
get: () => (_delay > 0 ? -_delay : _concurrency), | ||
set: (v) => { | ||
@@ -131,0 +131,0 @@ _concurrency = v > 0 ? v : 1; |
{ | ||
"name": "tress", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Easy to use asynchronous job queue. Successor of 'caolan/async.queue'.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
14826