Skip to content

Commit

Permalink
Merge 87f7f8e into 3e662ee
Browse files Browse the repository at this point in the history
  • Loading branch information
luismesas committed Mar 20, 2015
2 parents 3e662ee + 87f7f8e commit 775dd85
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/agenda.js
Expand Up @@ -76,6 +76,11 @@ Agenda.prototype.defaultLockLifetime = function(ms){
return this;
};

Agenda.prototype.close = function(cb) {
this._db.close(cb);
return this;
};

// Job Methods
Agenda.prototype.create = function(name, data) {
var priority = this._definitions[name] ? this._definitions[name].priority : 0;
Expand Down

0 comments on commit 775dd85

Please sign in to comment.