Skip to content

Commit

Permalink
used custom redlock package
Browse files Browse the repository at this point in the history
  • Loading branch information
manast committed Mar 7, 2017
1 parent 111f148 commit 58e2b82
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
var Promise = require('bluebird');
var _ = require('lodash');
var debuglog = require('debuglog')('bull');
var Redlock = require('redlock');
var Redlock = require('bull-redlock');

function execScript(client, hash, lua, numberOfKeys){
var args = _.drop(arguments, 4);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
"readmeFilename": "README.md",
"dependencies": {
"bluebird": "^3.4.7",
"bull-redlock": "^2.2.1",
"debuglog": "^1.0.0",
"disturbed": "^1.0.6",
"ioredis": "^2.5.0",
"lodash": "^4.17.4",
"redlock": "[email protected]:OptimalBits/node-redlock.git",
"semver": "^5.3.0",
"uuid": "^3.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion test/test_job.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var expect = require('expect.js');
var redis = require('ioredis');
var Promise = require('bluebird');
var uuid = require('uuid');
var Redlock = require('redlock');
var Redlock = require('bull-redlock');


describe('Job', function(){
Expand Down

0 comments on commit 58e2b82

Please sign in to comment.