Skip to content

Commit

Permalink
removed a couple unnecessary statements
Browse files Browse the repository at this point in the history
  • Loading branch information
timgit committed May 25, 2016
1 parent bb2ae31 commit dc1b00c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ class PgBoss extends EventEmitter {

// contractor makes sure we have a happy database home for work
var contractor = new Contractor(config);
contractor.on('error', error => this.emit('error', error));
this.contractor = contractor;

// boss keeps the books and archives old jobs
Expand Down
1 change: 0 additions & 1 deletion src/plans.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ function fetchNextJob(schema) {
WHERE (state = 'created' OR (state = 'expired' AND retryCount < retryLimit))
AND name = $1
AND (createdOn + startIn) < now()
AND completedOn IS NULL
ORDER BY createdOn, id
LIMIT 1
FOR UPDATE SKIP LOCKED
Expand Down

0 comments on commit dc1b00c

Please sign in to comment.