From 58e2b825fa7a73984a0c041ab9d64527a55e41df Mon Sep 17 00:00:00 2001 From: Manuel Astudillo Date: Wed, 8 Mar 2017 00:42:13 +0100 Subject: [PATCH] used custom redlock package --- lib/scripts.js | 2 +- package.json | 2 +- test/test_job.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/scripts.js b/lib/scripts.js index 59b54247d..1106a7c38 100644 --- a/lib/scripts.js +++ b/lib/scripts.js @@ -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); diff --git a/package.json b/package.json index 67046e80f..67b38011d 100644 --- a/package.json +++ b/package.json @@ -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": "git@github.com:OptimalBits/node-redlock.git", "semver": "^5.3.0", "uuid": "^3.0.1" }, diff --git a/test/test_job.js b/test/test_job.js index 23ac5846c..7067846f2 100644 --- a/test/test_job.js +++ b/test/test_job.js @@ -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(){