Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rjrodger committed Jun 27, 2019
1 parent 60221c4 commit 03190a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gate-executor.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ function GateExecutor(options, instance_counter) {

if (!work.gate && !work.done && work.tm < now - work.start) {
if (work.ontm) {
work.ontm(work.tm,work.start,now)
work.ontm(work.tm, work.start, now)
}

work.callback()
Expand Down Expand Up @@ -283,7 +283,7 @@ function GateExecutor(options, instance_counter) {

// Used by calling code to store additional context.
work.ctxt = {}

q.push(work)

if (s.running) {
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": "gate-executor",
"version": "1.1.0",
"version": "2.0.0",
"description": "A work queue that can be gated, stopping to wait for sub-queues to complete.",
"main": "gate-executor.js",
"scripts": {
Expand Down

0 comments on commit 03190a2

Please sign in to comment.